function writenavcol(){
	var navcol = '<div style="position:absolute;left:300px;top:166px;z-index:5;width:200px;">'+
	'<table cellpadding="0" cellspacing="0" border="0" width="200">';
	if(cnum==1) 		navcol += '<tr><td><img src="/i/cl_1_2.gif" width="106" height="22" alt="Meyteks Collection" border="0" name="p25"></td></tr><tr><td><a href="/collection/fabrics.htm" onmouseout="on_img(p27,27);" onmouseover="on_img(p27,28);"><img src="/i/cl_2_1.gif" width="106" height="19" alt="Fabrics" border="0" name="p27"></a></td></tr>';
	else if (cnum==2)	navcol += '<tr><td><a href="/collection/collection.htm" onmouseout="on_img(p25,25);" onmouseover="on_img(p25,26);"><img src="/i/cl_1_1.gif" width="106" height="22" alt="Collection 2004" border="0" name="p25"></a></td></tr> <tr><td><img src="/i/cl_2_2.gif" width="106" height="19" alt="Fabrics" border="0" name="p27"></td></tr>';
	navcol+= '</table>'+
	'</div>';
	return false;
document.write (navcol);
}





var a = new Array();
a[0]='alfresco_1.jpg;358;450';
a[1]='alfresco_2.jpg;360;450';
a[2]='alfresco_3.jpg;358;450';
a[3]='autumn_1.jpg;356;450';
a[4]='autumn_2.jpg;356;450';
a[5]='autumn_3.jpg;450;356';
a[6]='autumn_4.jpg;450;358';
a[7]='christmas_1.jpg;450;357';
a[8]='christmas_2.jpg;360;450';
a[9]='christmas_3.jpg;357;450';
a[10]='christmas_4.jpg;360;450';
a[11]='christmas_5.jpg;361;450';
a[12]='classic_1.jpg;450;358';
a[13]='classic_2.jpg;358;450';
a[14]='classic_3.jpg;358;450';
a[15]='drapery_1.jpg;306;450';
a[16]='drapery_2.jpg;450;302';
a[17]='drapery_3.jpg;275;450';
a[18]='easycare_1.jpg;361;450';
a[19]='easycare_2.jpg;358;450';
a[20]='fabrics.jpg;450;360';
a[21]='fabrics_2.jpg;450;358';
a[22]='fabrics_t.jpg;83;85';
a[23]='floral_1.jpg;357;450';
a[24]='floral_2.jpg;359;450';
a[25]='floral_3.jpg;358;450';
a[26]='floral_4.jpg;227;285';
a[27]='harlequin_1.jpg;358;450';
a[28]='harlequin_2.jpg;359;450';
a[29]='harlequin_3.jpg;360;450';
a[30]='harlequin_4.jpg;357;450';
a[31]='knits_1.jpg;400;450';
a[32]='marine_1.jpg;450;360';
a[33]='marine_2.jpg;357;450';
a[34]='marine_3.jpg;355;450';
a[35]='professionalline_1.jpg;359;450';
a[36]='romance_1.jpg;358;450';
a[37]='romance_2.jpg;360;450';
a[38]='romance_3.jpg;356;450';
a[39]='romance_4.jpg;357;450';
a[40]='romance_5.jpg;357;450';
a[41]='spring_1.jpg;359;450';
a[42]='spring_2.jpg;450;357';
a[43]='spring_3.jpg;357;450';
a[44]='spring_4.jpg;450;358';
a[45]='summer_1.jpg;307;450';
a[46]='summer_2.jpg;450;368';
a[47]='taffeta_1.jpg;450;349';
a[48]='taffeta_2.jpg;450;357';

function openfwin(num){
var p=new Array();
p= a[num].split(";");

if (document.getElementById && !document.all) 	var win = window.open("","name","toolbar=0,width="+(w)+",height="+ (h+19) +",location=0,directories=0,status=0,scrollbars=0,menubar=0,resizable=0");
else 											var win = window.open("",""+p[1]+"","toolbar=0,width="+(w)+",height="+ (h+18) +",location=0,directories=0,status=0,scrollbars=0,menubar=0,resizable=0");

	with (win.document) {
		open("text/html", "replace");
		writeln('<HTML>');
		writeln('<HEAD>');
		writeln('<TITLE>Meyteks Collection</TITLE>');
		writeln('</HEAD>');
		writeln('<BODY bgcolor="#313431" marginwidth="0" marginheight="0" leftmargin="0" topmargin="0" scroll=no>');
		writeln('<script>');
		writeln('function xchange(){if(document.all){document.all.pcc.style.visibility="hidden";document.all.pcd.style.visibility="visible";}}');
		writeln('</script>');
			if (document.all){
				writeln('<div style="width:'+ p[1]+'px; z-index:0; position:absolute; left:0px;top:0px;visibility:visible;" id="pcc">');
				writeln('<table cellpadding="0" cellspacing="0" border="0" width="100%" height='+p[2]+'><tr><td align="center" valign="middle">');
				writeln('<span style="font-family:Arial, Helvetica;font-weight:bold;color:#ebebeb;">LOADING...</span>');
				writeln('</td></tr></table>');
				writeln('</div>');
			}
			if (document.all) writeln('<div style="width:'+ p[1]+'px; z-index:99; position:absolute; left:0px;top:0px;visibility:hidden;" id="pcd">');
		writeln('<table cellpadding="0" cellspacing="0" border="0" width="100%"><tr>');
			if (document.all) writeln('<td bgcolor="#313431"><img src="'+num+'" border="0" width="'+ w +'" height="'+ h+ '" onload="xchange();"></td>');
			else writeln('<td bgcolor="#313431"><img src="'+num+'" border="0" width="'+ w +'" height="'+ h+ '"></td>');
		writeln('</tr>');
		writeln('<tr>');
		writeln('<td height="1" bgcolor="#FFFFFF"><img src="/i/s.gif" border="0" height="1" width="1"></td>');
		writeln('</tr>');
		writeln('<tr>');
		writeln('<td bgcolor="#353535" align="right" height="18" valign="top"><a href="javascript:window.close();"><img src="/i/close.gif" border="0" width="112" height="18" name="p"></a></td>');
		writeln('</tr>');
		writeln('</table>');
			if (document.all) writeln('</div>');
		writeln('</BODY>');
		write('</HTML>');
		win.focus();
	}
}

function openfwinASP(num,w,h){


if (document.getElementById && !document.all) 	var win = window.open("","name","toolbar=0,width="+(w)+",height="+ (h+19) +",location=0,directories=0,status=0,scrollbars=0,menubar=0,resizable=0");
else 											var win = window.open("",""+w+"","toolbar=0,width="+(w)+",height="+ (h+18) +",location=0,directories=0,status=0,scrollbars=0,menubar=0,resizable=0");

	with (win.document) {
		open("text/html", "replace");
		writeln('<HTML>');
		writeln('<HEAD>');
		writeln('<TITLE>Meyteks Collection</TITLE>');
		writeln('</HEAD>');
		writeln('<BODY bgcolor="#313431" marginwidth="0" marginheight="0" leftmargin="0" topmargin="0" scroll=no>');
		writeln('<script>');
		writeln('function xchange(){if(document.all){document.all.pcc.style.visibility="hidden";document.all.pcd.style.visibility="visible";}}');
		writeln('</script>');
		
		writeln('<script>');
		writeln('var message="";function clickIE() {if (document.all) {(message);return false;}}function clickNS(e) {if (document.layers||(document.getElementById&&!document.all)) {if (e.which==2||e.which==3) {(message);return false;}}}if (document.layers) {document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}document.oncontextmenu=new Function("return false")');
		writeln('</script>')
			if (document.all){
				writeln('<div style="width:'+ w+'px; z-index:0; position:absolute; left:0px;top:0px;visibility:visible;" id="pcc">');
				writeln('<table cellpadding="0" cellspacing="0" border="0" width="100%" height='+h+'><tr><td align="center" valign="middle">');
				writeln('<span style="font-family:Arial, Helvetica;font-weight:bold;color:#ebebeb;">LOADING...</span>');
				writeln('</td></tr></table>');
				writeln('</div>');
			}
			if (document.all) writeln('<div style="width:'+ w+'px; z-index:99; position:absolute; left:0px;top:0px;visibility:hidden;" id="pcd">');
		writeln('<table cellpadding="0" cellspacing="0" border="0" width="100%"><tr>');
			if (document.all) writeln('<td bgcolor="#313431"><img src="'+num+'" border="0" width="'+ w +'" height="'+ h+ '" onload="xchange();"></td>');
			else writeln('<td bgcolor="#313431"><img src="'+num+'" border="0" width="'+ w +'" height="'+ h+ '"></td>');
		writeln('</tr>');
		writeln('<tr>');
		writeln('<td height="1" bgcolor="#FFFFFF"><img src="/i/s.gif" border="0" height="1" width="1"></td>');
		writeln('</tr>');
		writeln('<tr>');
		writeln('<td bgcolor="#353535" align="right" height="18" valign="top"><a href="javascript:window.close();"><img src="/i/close.gif" border="0" width="112" height="18" name="p"></a></td>');
		writeln('</tr>');
		writeln('</table>');
			if (document.all) writeln('</div>');
		writeln('</BODY>');
		write('</HTML>');
		win.focus();
	}
}