var CRLF="%0D%0A";
var win = null;
var ukConv = 0.70;
var colClr = "#40668C";

function email_link(str_link) {
	document.write("<a href='&#109;&#97;&#105;&#108;&#116;&#111;&#58;&#69;&#97;&#115;&#116;&#101;&#114;&#110;&#86;&#111;&#103;&#117;&#101;&#64;&#121;&#97;&#104;&#111;&#111;&#46;&#99;&#111;&#109'>" + str_link + "</a>");
}

function ev_link() {
	document.write("<a href='&#109;&#97;&#105;&#108;&#116;&#111;&#58;&#69;&#97;&#115;&#116;&#101;&#114;&#110;&#86;&#111;&#103;&#117;&#101;&#64;&#121;&#97;&#104;&#111;&#111;&#46;&#99;&#111;&#109'>&#69;&#97;&#115;&#116;&#101;&#114;&#110;&#86;&#111;&#103;&#117;&#101;&#64;&#121;&#97;&#104;&#111;&#111;&#46;&#99;&#111;&#109</a>");
}

function header() {
	document.writeln("<table cellspacing=0 cellpadding=0 border=0 width=750>");
	document.writeln("<tr valign=top>");
	document.writeln("	<td>");
	document.writeln("		<table cellspacing=0 cellpadding=0 border=0 width='100%'>");
	document.writeln("		<tr valign=top>");
	document.writeln("			<td class=tl1B nowrap>");
	document.writeln("				Eastern Vogue<br>");
	document.writeln("				PO Box 27118<br>");
	document.writeln("				Dubai<br>");
	document.writeln("				United Arab Emirates");
	document.writeln("			</td>");
	document.writeln("			<td nowrap>&nbsp;&nbsp;&nbsp;&nbsp;</td>");
	document.writeln("			<td class=tl1GY>");
	document.writeln("				Please contact ");
	ev_link();
	document.writeln(" for all sales and trade enquiries<br>");
	document.writeln("				Eastern Vogue will reply to all emails within 5 business days");
	document.writeln("			</td>");
	document.writeln("			<td nowrap>&nbsp;&nbsp;&nbsp;&nbsp;</td>");
	document.writeln("			<td class=tr1 colspan=2><a href='index.html'><img src='images/logo_s.jpg' border=0 width=186 height=70 alt='Home Page'></a></td>");
	document.writeln("		</tr>");
	document.writeln("		</table>");
	document.writeln("	</td>");
	document.writeln("</tr>");
	document.writeln("</table>");

	document.writeln("<table cellspacing=0 cellpadding=0 border=0>");
	document.writeln("</tr>");
	document.writeln("<tr valign=middle>");
	document.writeln("	<td class=tl1 height=5 bgcolor=#ffffff><img src='images/spacer.gif' height=5></td>");
	document.writeln("</tr>");
	document.writeln("</table>");

	document.writeln("<table cellspacing=0 cellpadding=4 border=0 width=760 background='images/navbar.gif'>");
	document.writeln("<tr valign=top>");
	document.writeln("	<td height=30 nowrap class=tm1W><b><a class=menu href='index.html'>Home</a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;<a class=menu href='abaya.htm'>Abaya Collection</a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;<a class=menu href='clear.htm'>Clearance Abaya</a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;<a class=menu href='faq.htm'>FAQ</a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;<a class=menu href='feedback.htm'>Feedback</a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;<a class=menu href='glossary.htm'>Glossary</a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;<a class=menu href='about.htm'>About</a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;<a class=menu href='payment.htm'>Payment</a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;<a class=menu href='terms.htm'>Terms & Conditions</a>&nbsp;&nbsp;&nbsp;</td>");
	document.writeln("</tr>");
	document.writeln("</table>");

	document.writeln("<table cellspacing=0 cellpadding=0 border=0>");
	document.writeln("</tr>");
	document.writeln("<tr valign=middle>");
	document.writeln("	<td class=tl1 height=5 bgcolor=#ffffff><img src='images/spacer.gif' height=5></td>");
	document.writeln("</tr>");
	document.writeln("</table>");
}

function footer() {
	var mydate = new Date();
	var year = mydate.getYear();
	if (year < 1000) year += 1900;
	document.writeln("<table cellspacing=0 cellpadding=0 border=0 width=750>");
	document.writeln("<tr valign=top>");
	document.writeln("	<td class=tl1>&nbsp;</td>");
	document.writeln("</tr>");
	document.writeln("<tr valign=middle>");
	document.writeln("	<td class=tl1 height=1 bgcolor=#185093><img src='images/spacer.gif' height=1></td>");
	document.writeln("</tr>");
	document.writeln("<tr valign=middle>");
	document.writeln("	<td class=tl1 height=10 bgcolor=#ffffff><img src='images/spacer.gif' height=10></td>");
	document.writeln("</tr>");
	document.writeln("<tr valign=middle>");
	document.writeln("	<td class=tl1><font size=1>Copyright &copy 2004-" + year);
	email_link("Eastern Vogue")
	document.writeln("</font></td>");
	document.writeln("</tr>");
	document.writeln("</table>");
}

function col1() {
	var dateC = "#999999";
	document.writeln("<table cellspacing=0 cellpadding=0 border=0 width=150>");
	document.writeln("<tr valign=top>");
	document.writeln("	<td class=tl1W bgcolor=" + colClr + " nowrap><b>&nbsp;&nbsp;Latest Updates</b></td>");
	document.writeln("</tr>");
	document.writeln("<tr valign=top>");
	document.writeln("	<td bgcolor=" + colClr + " class=tl1>");
	document.writeln("		<table cellspacing=1 cellpadding=0 border=0 width='100%'>");
	document.writeln("		<tr valign=top>");
	document.writeln("			<td class=tl1>");

	document.writeln("				<table cellspacing=0 cellpadding=2 border=0 width='100%'>");
	document.writeln("				<tr valign=top>");
	document.writeln("					<td class=tl1 bgcolor=#ffffff>");
	document.writeln("						Our 2010 collection is currently being prepared and will be available in the next few months<br><br>");

	document.writeln("						<font size=1><font color=" + dateC + ">15 Jan 2010</font><br>");
	document.writeln("						<a href='clear.htm'>Clearance</a> section updated</font>");
	document.writeln("					</td>");
	document.writeln("				</tr>");
	document.writeln("				<tr valign=top>");
	document.writeln("					<td class=tl1 bgcolor=#ffffff>");
	document.writeln("						<font size=1><font color=" + dateC + ">18 Oct 2008</font><br>");
	document.writeln("						<a href='abaya.htm'>2009 Abaya collection</a> online</font>");
	document.writeln("					</td>");
	document.writeln("				</tr>");
	document.writeln("				</table>");

	document.writeln("			</td>");
	document.writeln("		</tr>");
	document.writeln("		</table>");
	document.writeln("	</td>");
	document.writeln("</tr>");
	document.writeln("<tr valign=middle>");
	document.writeln("	<td class=tl1 height=10 bgcolor=#ffffff><img src='images/spacer.gif' height=5></td>");
	document.writeln("</tr>");
	document.writeln("<tr valign=top>");
	document.writeln("	<td class=tl1W bgcolor=" + colClr + " nowrap><b>&nbsp;&nbsp;Eastern Vogue News</b></td>");
	document.writeln("</tr>");
	document.writeln("<tr valign=top>");
	document.writeln("	<td bgcolor=" + colClr + ">");
	document.writeln("		<table cellspacing=1 cellpadding=0 border=0 width='100%'>");
	document.writeln("		<tr valign=top>");
	document.writeln("			<td class=tl1>");

	document.writeln("				<table cellspacing=0 cellpadding=2 border=0 width='100%'>");
	document.writeln("				<tr valign=top>");
	document.writeln("					<td class=tl1 bgcolor=#ffffff>");
	document.writeln("						<font size=1><font color=" + dateC + ">15 Feb 2009</font><br>");
	document.writeln("						<a href='faq.htm'>FAQ</a> page updated</font>");
	document.writeln("					</td>");
	document.writeln("				</tr>");
	document.writeln("				<tr valign=top>");
	document.writeln("					<td class=tl1 bgcolor=#ffffff>");
	document.writeln("						<font size=1><font color=" + dateC + ">15 Feb 2009</font><br>");
	document.writeln("						<a href='payment.htm'>Payment</a> details updated</font>");
	document.writeln("					</td>");
	document.writeln("				</tr>");
	document.writeln("				<tr valign=top>");
	document.writeln("					<td class=tl1 bgcolor=#ffffff>");
	document.writeln("						<font size=1><font color=" + dateC + ">15 Feb 2009</font><br>");
	document.writeln("						<a href='terms.htm'>Terms & Conditions</a> updated</font>");
	document.writeln("					</td>");
	document.writeln("				</tr>");
	document.writeln("				<tr valign=top>");
	document.writeln("					<td class=tl1 bgcolor=#ffffff>");
	document.writeln("						<font size=1><font color=" + dateC + ">18 Oct 2008</font><br>");
	document.writeln("						<a href='abaya.htm'>2009 Abaya collection</a> now online</font>");
	document.writeln("					</td>");
	document.writeln("				</tr>");
	document.writeln("				<tr valign=top>");
	document.writeln("					<td class=tl1 bgcolor=#ffffff>");
	document.writeln("						<font size=1><font color=" + dateC + ">17 Apr 2006</font><br>");
	document.writeln("						<a href='feedback.htm'>Feedback</a> page added</font>");
	document.writeln("					</td>");
	document.writeln("				</tr>");
	document.writeln("				</table>");

	document.writeln("			</td>");
	document.writeln("		</tr>");
	document.writeln("		</table>");
	document.writeln("	</td>");
	document.writeln("</tr>");
	document.writeln("</table>");
}

function fabricInfo() {
	document.writeln("<table cellspacing=0 cellpadding=0 border=0 width=150>");
	document.writeln("<tr valign=top>");
	document.writeln("	<td class=tl1W bgcolor=#40668C colspan=3 nowrap><b>&nbsp;&nbsp;Fabric Guide</b></td>");
	document.writeln("</tr>");
	document.writeln("<tr valign=top>");
	document.writeln("	<td colspan=3 bgcolor=#40668C>");
	document.writeln("		<table cellspacing=1 cellpadding=0 border=0 width='100%'>");
	document.writeln("		<tr valign=middle>");
	document.writeln("			<td class=tl1 bgcolor=#ffffff>");

	document.writeln("				<table cellspacing=0 cellpadding=3 border=0 width='100%'>");
	document.writeln("				<tr valign=middle>");
	document.writeln("					<td class=tl1><b>Silk fabric</b><br><font class=tl1GY size=1>A shiny, shimmery, silk and satin fabric that provides a beautiful finish</font></td>");
	document.writeln("				</tr>");
	document.writeln("				<tr valign=middle>");
	document.writeln("					<td class=tl1><b>Internet fabric</b><br><font class=tl1GY size=1>A premium quality matt fabric that is similar to plain Saudi Crepe material</font></td>");
	document.writeln("				</tr>");
	document.writeln("				<tr valign=middle>");
	document.writeln("					<td class=tl1><b>Ferrari fabric</b><br><font class=tl1GY size=1>A premium quality crepe fabric that has a design of stitched lines that give a textured finish</font></td>");
	document.writeln("				</tr>");
	document.writeln("				</table>");

	document.writeln("			</td>");
	document.writeln("		</tr>");
	document.writeln("		</table>");
	document.writeln("	</td>");
	document.writeln("</tr>");
	document.writeln("<tr valign=middle>");
	document.writeln("	<td class=tl1 colspan=3 height=10 bgcolor=#ffffff><img src='images/spacer.gif' height=5></td>");
	document.writeln("</tr>");
	document.writeln("</table>");
}

function shipping() {
	document.writeln("<table cellspacing=0 cellpadding=0 border=0 width='100%'>");
	document.writeln("<tr valign=middle>");
	document.writeln("	<td class=tl1GY nowrap><font size=1>&nbsp;please note all prices exclude <a href='payment.htm'>shipping & delivery</a></font></td>");
	document.writeln("</tr>");
	document.writeln("</table>");
}

function generic_footnote(str) {
	document.writeln("<table cellspacing=0 cellpadding=0 border=0 width='100%'>");
	document.writeln("<tr valign=middle>");
	document.writeln("	<td class=tl1GY nowrap><font size=1>&nbsp;" + str + "</font></td>");
	document.writeln("</tr>");
	document.writeln("</table>");
}

function abaya_enquiry(frmObj) {
	var frm = eval(frmObj);
	var selAbaya = false;
	var abayaTxt = "";
	var abayaVal = "";
	var abayaQty = 0;
	var selLength = false;
	var selBust = false;
	var selHip = false;
	var bodyStr = "";
	var errMsg = "";

	for (var i=0; i<frm.elements.length; i++) {
		if (frm.elements[i].name == "abaya") {
			abayaTxt = frm.elements[i].options[frm.elements[i].selectedIndex].text;
			abayaVal = frm.elements[i].options[frm.elements[i].selectedIndex].value;
			if (abayaTxt != "Select") {
				selAbaya = true;
				bodyStr += "Abaya: " + abayaVal + " - Quantity: " + abayaTxt + CRLF;
				abayaQty = abayaQty + parseInt(abayaTxt);
			}
		}
	}

	if (frm.abaya_length.selectedIndex > 0) {
		selLength = true;
		bodyStr += "Length: " + frm.abaya_length.options[frm.abaya_length.selectedIndex].text + CRLF;
	}

	if (frm.abaya_bust.selectedIndex > 0) {
		selBust = true;
		bodyStr += "Bust: " + frm.abaya_bust.options[frm.abaya_bust.selectedIndex].text + CRLF;
	}

	if (frm.abaya_hip.selectedIndex > 0) {
		selHip = true;
		bodyStr += "Hip: " + frm.abaya_hip.options[frm.abaya_hip.selectedIndex].text + CRLF;
	}

	if (!selAbaya) errMsg += "- choose abaya by selecting the quantity required\n";
	if (abayaQty > 0 && abayaQty < 5) errMsg += "- please select a minimum total of 5 abaya's to order\n";
	if (!selLength) errMsg += "- choose the abaya length (shoulder to ground)\n";
	if (!selBust) errMsg += "- choose abaya bust size\n";
	if (!selHip) errMsg += "- choose abaya hip size\n";

	errMsg += checkContactDetails(frm);
	errMsg += checkAdditionalInfo(frm);
	if (errMsg == "") {
		bodyStr += getContactDetails(frm);
		bodyStr += getAdditionalInfo(frm);
		sendEmail("Abaya", bodyStr);
	}
	else {
		errMsg = "Please check the following order details:\n------------------------------------------------------------------------------     \n" + errMsg;
		alert(errMsg);
	}
}

function abaya(ref, priceUSD, qty, title, img, fabric, style, desc) {
	var imgArray = new Array("","a","b","c","d","e");
	var imgStr = "<sup>";

	document.writeln("<td class=tl1GY bgcolor=#ffffff width='25%'>");
	document.writeln("	<table cellspacing=0 cellpadding=1 border=0 width='100%'>");
	document.writeln("	<tr valign=top>");
	document.writeln("		<td class=tl1><a href=\"javascript:openImgWin('images/abaya/abaya_" + ref + "a.jpg', '" + title + "', '" + ref.toUpperCase() + "')\"><img src='images/thumb/abaya/t_abaya_" + ref + "a.jpg' width=70 height=160 border=0 alt='Abaya " + ref.toUpperCase() + "'></a></td>");
	document.writeln("		<td class=tm1R nowrap>");
	document.writeln("			<table cellspacing=0 cellpadding=0 border=0 width='100%'>");
	document.writeln("			<tr valign=top>");
	document.writeln("				<td class=tm1>");
	document.writeln("					<select name='abaya' class='tl1' style='width:57px;'>");
	document.writeln("						<option>Select");

	if (qty>20) { document.writeln("						<option value='" + ref.toUpperCase() + "'>1"); }
	else {
		for (var i=qty; i<=20; i++) {
			document.writeln("						<option value='" + ref.toUpperCase() + "'>" + i);
		}
	}

	document.writeln("					</select>");
	document.writeln("				</td>");
	document.writeln("			</tr>");
	document.writeln("			<tr valign=top>");
	document.writeln("				<td class=tm1GY><img src='images/spacer.gif' height=5></td>");
	document.writeln("			</tr>");
	document.writeln("			</table>");
	document.writeln("			USD&nbsp;$" + priceUSD + "<br>");
	document.writeln("			GBP&nbsp;£" + Math.round(priceUSD * ukConv) + "<br><hr width='80%'>");
	document.writeln("			<table cellspacing=0 cellpadding=0 border=0 width='100%'>");
	document.writeln("			<tr valign=top>");
	document.writeln("				<td class=tm1GY nowrap>Ref. " + ref.toUpperCase() + "</td>");
	document.writeln("			</tr>");
	document.writeln("			<tr valign=top>");
	document.writeln("				<td class=tm1GY><img src='images/spacer.gif' height=6></td>");
	document.writeln("			</tr>");
	document.writeln("			<tr valign=top>");
	document.writeln("				<td class=tm1GY nowrap><font size=1>" + fabric + " fabric</td>");
	document.writeln("			</tr>");
	document.writeln("			<tr valign=top>");
	document.writeln("				<td class=tm1GY nowrap><font size=1>" + style + " style</td>");
	document.writeln("			</tr>");
	document.writeln("			<tr valign=top>");
	document.writeln("				<td class=tm1GY><img src='images/spacer.gif' height=6></td>");
	document.writeln("			</tr>");
	document.writeln("			<tr valign=top>");
	document.writeln("				<td class=tm1GY nowrap><font size=1>Images</font><br>");

	for (var i=1; i<=img; i++) {
		imgStr += "<a href=\"javascript:openImgWin('images/abaya/abaya_" + ref + imgArray[i] + ".jpg', '" + title + "', '" + ref.toUpperCase() + "')\">" + i + "</a>"
		if (i<img) imgStr += " | ";
	}

	document.writeln("				" + imgStr + "</sup><hr width='80%'></td>");
	document.writeln("			</tr>");
	document.writeln("			</table>");
	document.writeln("		</td>");
	document.writeln("	</tr>");
	document.writeln("	<tr valign=top>");
	document.writeln("		<td class=tl1GY colspan=2>" + desc + "</td>");
	document.writeln("	</tr>");
	document.writeln("	</table>");
	document.writeln("</td>");
}

function clearance_enquiry(frmObj) {
	var frm = eval(frmObj);
	var selClear = false;
	var clearTxt = "";
	var clearVal = "";
	var bodyStr = "";
	var errMsg = "";

	for (var i=0; i<frm.elements.length; i++) {
		if (frm.elements[i].name == "abaya") {
			clearTxt = frm.elements[i].options[frm.elements[i].selectedIndex].text;
			clearVal = frm.elements[i].options[frm.elements[i].selectedIndex].value;
			if (clearTxt != "Select") {
				selClear = true;
				bodyStr += "Clearance: " + clearVal + " - Quantity: " + clearTxt + CRLF;
			}
		}
	}

	if (!selClear) errMsg += "- choose clearance garment by selecting the quantity required\n";

	errMsg += checkContactDetails(frm);
	errMsg += checkAdditionalInfo(frm);
	if (errMsg == "") {
		bodyStr += getContactDetails(frm);
		bodyStr += getAdditionalInfo(frm);
		sendEmail("Clearance", bodyStr);
	}
	else {
		errMsg = "Please check the following order details:\n------------------------------------------------------------------------------     \n" + errMsg;
		alert(errMsg);
	}
}

function returnDate() {
	var mydate = new Date();
	var year = mydate.getYear();
	var day = mydate.getDay();
	var month = mydate.getMonth();
	var hours = mydate.getHours();
	var min = mydate.getMinutes();
	var mins = min.toString();
	var daym = mydate.getDate();
	if (mins.length == 1) mins = "0" + mins;
	if (daym < 10) daym = "0" + daym;
	if (year < 1000) year += 1900;

	var dayarray = new Array("Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday");
	var montharray = new Array("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December");
	return (hours + ":" + mins + " " + dayarray[day] + " " + daym + " " + montharray[month] + " " + year)
}

function sendEmail(subject, body) {
	var emailStr = "mailto:EasternVogue@yahoo.com?subject=" + subject + " order enquiry submitted " + returnDate() + "&body=I am interested in purchasing the following:" + CRLF + CRLF + body;
	document.location = emailStr;
}

function checkContactDetails(frm) {
	var errMsg = "";
	if (frm.name.value == "")
		errMsg += "- please enter your name\n";
	if (frm.line1.value == "")
		errMsg += "- please enter your address\n";
	if (frm.town.value == "")
		errMsg += "- please enter your town or city\n";
	if (frm.country.selectedIndex == 0)
		errMsg += "- please select your country\n";
	if (!IsNumeric(frm.telephone.value, "0123456789 +"))
		errMsg += "- please enter your contact telephone number\n";
	if (frm.delivery.selectedIndex == 0)
		errMsg += "- please select your delivery preference\n";
	if (errMsg.length > 1)
		errMsg = "\n\nRequired contact details:\n------------------------------------------------------------------------------     \n" + errMsg;
	return errMsg;
}

function checkAdditionalInfo(frm) {
	var errMsg = "";
	if (frm.advertising.selectedIndex == 0)
		errMsg += "- please select how you heard about Eastern Vogue\n";
	if (frm.advertising.selectedIndex == frm.advertising.length -1)
		if (frm.otheradvertising.value == "")
			errMsg += "- please enter other details for how your heard about Eastern Vogue\n";
	if (errMsg.length > 1)
		errMsg = "\n\nRequired additional information:\n------------------------------------------------------------------------------     \n" + errMsg;
	return errMsg;
}

function getContactDetails(frm) {
	var bodyStr = "";
	bodyStr += "Name: " + frm.name.value + CRLF;
	bodyStr += "Company: " + frm.company.value + CRLF;
	bodyStr += "Address 1: " + frm.line1.value + CRLF;
	bodyStr += "Address 2: " + frm.line2.value + CRLF;
	bodyStr += "Town/City: " + frm.town.value + CRLF;
	bodyStr += "County/State: " + frm.county.value + CRLF;
	bodyStr += "Postcode/ZIP: " + frm.postcode.value + CRLF;
	bodyStr += "Country: " + frm.country.options[frm.country.selectedIndex].text + CRLF;
	bodyStr += "Telephone Number: " + frm.telephone.value + CRLF;
	bodyStr += "Delivery Preference: " + frm.delivery.options[frm.delivery.selectedIndex].text + CRLF;
	return bodyStr;
}

function getAdditionalInfo(frm) {
	var bodyStr = "";
	bodyStr += "Advertising: " + frm.advertising.options[frm.advertising.selectedIndex].text + CRLF;
	bodyStr += "Other: " + frm.otheradvertising.value + CRLF;
	return bodyStr;
}

function sampleDesign(ref) {
	document.writeln("<td class=tl1GY bgcolor=#ffffff width='25%'>");
	document.writeln("	<table cellspacing=0 cellpadding=2 border=0 width='100%'>");
	document.writeln("	<tr valign=top>");
	document.writeln("		<td class=tl1><a href=\"javascript:openImgWin('images/abaya/abaya_" + ref + ".jpg', 'W', 'Sample Abaya', 'Ref. " + ref.toUpperCase() + "')\"><img src='images/thumb/abaya/t_abaya_" + ref + ".jpg' width=80 height=60 border=0></a></td>");
	document.writeln("		<td class=tm1R nowrap>");
	document.writeln("			<font class=tm1GY>Ref. " + ref.toUpperCase() + "<br>");
	document.writeln("			Images</font><br>");
	document.writeln("			<sup><a href=\"javascript:openImgWin('images/abaya/abaya_" + ref + ".jpg', 'W', 'Sample Abaya', 'Ref. " + ref.toUpperCase() + "')\">1</a></sup>");
	document.writeln("		</td>");
	document.writeln("	</tr>");
	document.writeln("	</table>");
	document.writeln("</td>");
}

function IsNumeric(sText, str) {
	var ValidChars = str;
	var isNumber = true;
	var Char;

	if (sText.length > 0) {
		for (i = 0; i < sText.length && isNumber == true; i++) {
			Char = sText.charAt(i);
			if (ValidChars.indexOf(Char) == -1) {
				isNumber = false;
			}
		}
	}
	else {
		isNumber = false;
	}
	return isNumber;
}

function openImgWin(img, prod, ref) {
	var doc;
	win = window.open("", ref, "scrollbars=yes, resizable=yes, width=400, height=300");
	doc = win.document;
	doc.writeln("<html>");
	doc.writeln("<head>");
	doc.writeln("<META HTTP-EQUIV='Pragma' CONTENT='no-cache'>");
	doc.writeln("<META HTTP-EQUIV='expires' CONTENT='now'>");
	doc.writeln("<title>Eastern Vogue Image Viewer - " + prod + " " + ref + "</title>");
	doc.writeln("<link rel='stylesheet' type='text/css' href='ev.css'>");
	doc.writeln("</head>");
	doc.writeln("<body bgcolor='#ffffff' link='#001f82' vlink='#001f82' alink='#001f82' onLoad=\"	window.resizeTo(document.images['abaya'].width + 80, document.images['abaya'].height + 180);\">");
	doc.writeln("<center>");
	doc.writeln("<table cellspacing=0 cellpadding=0 border=0>");
	doc.writeln("<tr valign=top>");
	doc.writeln("	<form>");
	doc.writeln("	<td class=tl1>");

	doc.writeln("		<table cellspacing=0 cellpadding=0 border=0 width='100%'>");
	doc.writeln("		<tr valign=top>");
	doc.writeln("			<td class=tl1LB nowrap>Eastern Vogue Image Viewer</td>");
	doc.writeln("		</tr>");
	doc.writeln("		<tr valign=top>");
	doc.writeln("			<td class=tl1GY nowrap>" + prod + " Ref. " + ref + "</td>");
	doc.writeln("		</tr>");
	doc.writeln("		<tr valign=middle>");
	doc.writeln("			<td class=tl1 height=10 bgcolor=#ffffff><img src='images/spacer.gif' height=10></td>");
	doc.writeln("		</tr>");
	doc.writeln("		<tr valign=top>");
	doc.writeln("			<td class=tl1GY nowrap><form><input type='button' value='Close Window' onClick='window.close()' class=tm1R style='height:19px; width:110px;'></form></td>");
	doc.writeln("		</tr>");
	doc.writeln("		</table>");

	doc.writeln("	</td>");
	doc.writeln("	</form>");
	doc.writeln("	<td class=tr1><img src='images/logo_s.jpg' border=0 width=186 height=70></td>");
	doc.writeln("</tr>");
	doc.writeln("<tr valign=middle>");
	doc.writeln("	<td class=tl1 height=1 bgcolor=#C0C0FF colspan=2><img src='images/spacer.gif' height=1></td>");
	doc.writeln("</tr>");
	doc.writeln("<tr valign=middle>");
	doc.writeln("	<td class=tl1 height=5 bgcolor=#ffffff colspan=2><img src='images/spacer.gif' height=5></td>");
	doc.writeln("</tr>");
	doc.writeln("<tr valign=middle>");
	doc.writeln("	<td class=tm1 colspan=2><img src='" + img + "' border=1 name='abaya' alt='" + prod + " " + ref + "'></td>");
	doc.writeln("</tr>");
	doc.writeln("</table>");
	doc.writeln("</center>");
	doc.writeln("</body>");
	doc.writeln("</html>");
	doc.close();
	win.focus();
}

function contact_details() {
	document.writeln("<a name='contact'></a>");
	document.writeln("<table cellspacing=0 cellpadding=0 border=0>");
	document.writeln("<tr valign=top>");
	document.writeln("	<td class=tl1><img src='images/grey_lt.gif' border=0 width=4 height=4></td>");
	document.writeln("	<td class=tl1 bgcolor=#999999><img src='images/spacer.gif' border=0 width=139 height=4></td>");
	document.writeln("	<td class=tl1><img src='images/grey_rt.gif' border=0 width=4 height=4></td>");
	document.writeln("</tr>");
	document.writeln("<tr valign=top>");
	document.writeln("	<td class=tl1W bgcolor=#999999 colspan=3 nowrap><b>&nbsp;&nbsp;Contact Details&nbsp;</b></td>");
	document.writeln("</tr>");
	document.writeln("<tr valign=top>");
	document.writeln("	<td class=tl1 bgcolor=#999999 colspan=3><img src='images/spacer.gif' border=0 height=4></td>");
	document.writeln("</tr>");
	document.writeln("</table>");

	document.writeln("<table cellspacing=0 cellpadding=0 border=0 width='100%'>");
	document.writeln("<tr valign=top>");
	document.writeln("	<td bgcolor=#D0D0D0>");
	document.writeln("		<table cellspacing=1 cellpadding=3 border=0 width='100%'>");
	document.writeln("		<tr valign=top>");
	document.writeln("			<td class=tl1GY bgcolor=#ffffff width='50%'>");
	document.writeln("				<table cellspacing=0 cellpadding=2 border=0 width='100%'>");
	document.writeln("				<tr valign=middle>");
	document.writeln("					<td class=tl1R nowrap>Full Name&nbsp;&nbsp;</td>");
	document.writeln("					<td class=tr1>");
	document.writeln("						<input type='text' class=tl1 name='name' value='' style='height:19px; width:197px' maxlength='40'>");
	document.writeln("					</td>");
	document.writeln("				</tr>");
	document.writeln("				<tr valign=middle>");
	document.writeln("					<td class=tl1GY nowrap>Company Name</td>");
	document.writeln("					<td class=tr1>");
	document.writeln("						<input type='text' class=tl1 name='company' value='' style='height:19px; width:197px' maxlength='40'>");
	document.writeln("					</td>");
	document.writeln("				</tr>");
	document.writeln("				<tr valign=middle>");
	document.writeln("					<td class=tl1R nowrap>Address 1</td>");
	document.writeln("					<td class=tr1>");
	document.writeln("						<input type='text' class=tl1 name='line1' value='' style='height:19px; width:197px' maxlength='40'>");
	document.writeln("					</td>");
	document.writeln("				</tr>");
	document.writeln("				<tr valign=middle>");
	document.writeln("					<td class=tl1GY nowrap>Address 2</td>");
	document.writeln("					<td class=tr1>");
	document.writeln("						<input type='text' class=tl1 name='line2' value='' style='height:19px; width:197px' maxlength='40'>");
	document.writeln("					</td>");
	document.writeln("				</tr>");
	document.writeln("				<tr valign=middle>");
	document.writeln("					<td class=tl1R nowrap>Town/City</td>");
	document.writeln("					<td class=tr1>");
	document.writeln("						<input type='text' class=tl1 name='town' value='' style='height:19px; width:197px' maxlength='40'>");
	document.writeln("					</td>");
	document.writeln("				</tr>");
	document.writeln("				<tr valign=middle>");
	document.writeln("					<td class=tl1GY nowrap>County/State</td>");
	document.writeln("					<td class=tr1>");
	document.writeln("						<input type='text' class=tl1 name='county' value='' style='height:19px; width:197px' maxlength='40'>");
	document.writeln("					</td>");
	document.writeln("				</tr>");
	document.writeln("				<tr valign=middle>");
	document.writeln("					<td class=tl1GY nowrap>Postcode/ZIP</td>");
	document.writeln("					<td class=tr1>");
	document.writeln("						<input type='text' class=tl1 name='postcode' value='' style='height:19px; width:197px' maxlength='40'>");
	document.writeln("					</td>");
	document.writeln("				</tr>");
	document.writeln("				<tr valign=middle>");
	document.writeln("					<td class=tl1R>Country</td>");
	document.writeln("					<td class=tr1 nowrap>");
	document.writeln("						<select name='country' class=tl1 size='1' style='height:19px; width:197px'>");
	document.writeln("							<option selected='selected'>-- Choose destination country --");
	document.writeln("							<option>Afganistan");
	document.writeln("							<option>Albania");
	document.writeln("							<option>Algeria");
	document.writeln("							<option>American Samoa");
	document.writeln("							<option>Andorra");
	document.writeln("							<option>Angola");
	document.writeln("							<option>Anguila");
	document.writeln("							<option>Antarctica");
	document.writeln("							<option>Antigua and Barbuda");
	document.writeln("							<option>Argentina");
	document.writeln("							<option>Armenia");
	document.writeln("							<option>Aruba");
	document.writeln("							<option>Ascension Island");
	document.writeln("							<option>Australia");
	document.writeln("							<option>Austria");
	document.writeln("							<option>Azerjaijan");
	document.writeln("							<option>Bahamas");
	document.writeln("							<option>Bahrain");
	document.writeln("							<option>Bangladesh");
	document.writeln("							<option>Barbados");
	document.writeln("							<option>Belarus");
	document.writeln("							<option>Belguim");
	document.writeln("							<option>Belize");
	document.writeln("							<option>Benin");
	document.writeln("							<option>Bermuda");
	document.writeln("							<option>Bhutan");
	document.writeln("							<option>Bolivia");
	document.writeln("							<option>Bosnia and Herzegovina");
	document.writeln("							<option>Botswana");
	document.writeln("							<option>Bouvet Island");
	document.writeln("							<option>Brazil");
	document.writeln("							<option>British Indian Ocean Territory");
	document.writeln("							<option>Brunei Darussalam");
	document.writeln("							<option>Bulgaria");
	document.writeln("							<option>Burkina Faso");
	document.writeln("							<option>Burundi");
	document.writeln("							<option>Cambodia");
	document.writeln("							<option>Cameroon");
	document.writeln("							<option>Canada");
	document.writeln("							<option>Cape Verde");
	document.writeln("							<option>Cayman Islands");
	document.writeln("							<option>Central African Republic");
	document.writeln("							<option>Chad");
	document.writeln("							<option>Chile");
	document.writeln("							<option>China");
	document.writeln("							<option>Christmas Island");
	document.writeln("							<option>Cocos (Keeling) Islands");
	document.writeln("							<option>Colombia");
	document.writeln("							<option>Comoros");
	document.writeln("							<option>Congo");
	document.writeln("							<option>Cook Islands");
	document.writeln("							<option>Costa Rica");
	document.writeln("							<option>Cote d'Ivoire (Ivory Coast)");
	document.writeln("							<option>Croatia (Hrvatska)");
	document.writeln("							<option>Cuba");
	document.writeln("							<option>Cyprus");
	document.writeln("							<option>Czech Republic");
	document.writeln("							<option>Denmark");
	document.writeln("							<option>Diego Garcia");
	document.writeln("							<option>Djibouti");
	document.writeln("							<option>Dominica");
	document.writeln("							<option>Dominican Republic");
	document.writeln("							<option>East Timor");
	document.writeln("							<option>Easter Island");
	document.writeln("							<option>Ecuador");
	document.writeln("							<option>Egypt");
	document.writeln("							<option>El Salvador");
	document.writeln("							<option>Equatorial Guinea");
	document.writeln("							<option>Eritrea");
	document.writeln("							<option>Estonia");
	document.writeln("							<option>Ethiopia");
	document.writeln("							<option>Falkland Islands");
	document.writeln("							<option>Faroe Islands");
	document.writeln("							<option>Fiji");
	document.writeln("							<option>Finland");
	document.writeln("							<option>France");
	document.writeln("							<option>French Guiana");
	document.writeln("							<option>French Polynesia");
	document.writeln("							<option>French Southern Territories");
	document.writeln("							<option>Gabon");
	document.writeln("							<option>Gambia");
	document.writeln("							<option>Georgia");
	document.writeln("							<option>Germany");
	document.writeln("							<option>Ghana");
	document.writeln("							<option>Gibraltar");
	document.writeln("							<option>Greece");
	document.writeln("							<option>Greenland");
	document.writeln("							<option>Grenada");
	document.writeln("							<option>Guadaloupe");
	document.writeln("							<option>Guam");
	document.writeln("							<option>Guatamala");
	document.writeln("							<option>Guinea-Bissau");
	document.writeln("							<option>Guinea");
	document.writeln("							<option>Guyana");
	document.writeln("							<option>Haiti");
	document.writeln("							<option>Heard and McDonald Islands");
	document.writeln("							<option>Honduras");
	document.writeln("							<option>Hong Kong");
	document.writeln("							<option>Hungary");
	document.writeln("							<option>Iceland");
	document.writeln("							<option>India");
	document.writeln("							<option>Indonesia");
	document.writeln("							<option>Iran");
	document.writeln("							<option>Iraq");
	document.writeln("							<option>Ireland");
	document.writeln("							<option>Israel");
	document.writeln("							<option>Italy");
	document.writeln("							<option>Jamaica");
	document.writeln("							<option>Japan");
	document.writeln("							<option>Jordan");
	document.writeln("							<option>Kazakhstan");
	document.writeln("							<option>Kenya");
	document.writeln("							<option>Kiribati");
	document.writeln("							<option>Korea (north)");
	document.writeln("							<option>Korea (south)");
	document.writeln("							<option>Kuwait");
	document.writeln("							<option>Kyrgyzstan");
	document.writeln("							<option>Laos");
	document.writeln("							<option>Latvia");
	document.writeln("							<option>Lebanon");
	document.writeln("							<option>Lesotho");
	document.writeln("							<option>Liberia");
	document.writeln("							<option>Libya");
	document.writeln("							<option>Liechtenstein");
	document.writeln("							<option>Lithuania");
	document.writeln("							<option>Luxembourg");
	document.writeln("							<option>Macau");
	document.writeln("							<option>Macedonia");
	document.writeln("							<option>Madagascar");
	document.writeln("							<option>Malasia");
	document.writeln("							<option>Malawi");
	document.writeln("							<option>Maldives");
	document.writeln("							<option>Mali");
	document.writeln("							<option>Malta");
	document.writeln("							<option>Marshal Islands");
	document.writeln("							<option>Martinique");
	document.writeln("							<option>Mauritania");
	document.writeln("							<option>Maurritius");
	document.writeln("							<option>Mayotte");
	document.writeln("							<option>Mexico");
	document.writeln("							<option>Micronesia");
	document.writeln("							<option>Moldova");
	document.writeln("							<option>Monaco");
	document.writeln("							<option>Mongolia");
	document.writeln("							<option>Montserrat");
	document.writeln("							<option>Morocco");
	document.writeln("							<option>Mozambique");
	document.writeln("							<option>Mynamar");
	document.writeln("							<option>Namibia");
	document.writeln("							<option>Nauru");
	document.writeln("							<option>Nepal");
	document.writeln("							<option>Netherland Antilles");
	document.writeln("							<option>Netherlands");
	document.writeln("							<option>New Caledonia");
	document.writeln("							<option>New Zealand");
	document.writeln("							<option>Nicaragua");
	document.writeln("							<option>Niger");
	document.writeln("							<option>Nigeria");
	document.writeln("							<option>Niue");
	document.writeln("							<option>Norfolk Island");
	document.writeln("							<option>Northern Marianas Islands");
	document.writeln("							<option>Norway");
	document.writeln("							<option>Oman");
	document.writeln("							<option>Pakistan");
	document.writeln("							<option>Palau");
	document.writeln("							<option>Panama");
	document.writeln("							<option>Papua New Guinea");
	document.writeln("							<option>Paraguay");
	document.writeln("							<option>Peru");
	document.writeln("							<option>Philippines");
	document.writeln("							<option>Pitcairn");
	document.writeln("							<option>Poland");
	document.writeln("							<option>Portugal");
	document.writeln("							<option>Puerto Rico");
	document.writeln("							<option>Qatar");
	document.writeln("							<option>Reunion");
	document.writeln("							<option>Romania");
	document.writeln("							<option>Russian Federation");
	document.writeln("							<option>Rwanda");
	document.writeln("							<option>Saint Helena");
	document.writeln("							<option>Saint Kitts and Nevis");
	document.writeln("							<option>Saint Lucia");
	document.writeln("							<option>Saint Pierre and Miquelon");
	document.writeln("							<option>Saint Vincent and the Grenadines");
	document.writeln("							<option>Samoa");
	document.writeln("							<option>San Marino");
	document.writeln("							<option>Sao Tome and Principe");
	document.writeln("							<option>Saudi Arabia");
	document.writeln("							<option>Senegal");
	document.writeln("							<option>Seychelles");
	document.writeln("							<option>Sierra Leone");
	document.writeln("							<option>Singapore");
	document.writeln("							<option>Slovak Republic");
	document.writeln("							<option>Slovenia");
	document.writeln("							<option>Solomon Islands");
	document.writeln("							<option>Somalia");
	document.writeln("							<option>South Africa");
	document.writeln("							<option>South Georgia and the South Sandwich Islands");
	document.writeln("							<option>Spain");
	document.writeln("							<option>Sri Lanka");
	document.writeln("							<option>Sudan");
	document.writeln("							<option>Suriname");
	document.writeln("							<option>Svalbard and Jan Mayen Islands");
	document.writeln("							<option>Swaziland");
	document.writeln("							<option>Sweden");
	document.writeln("							<option>Switzerland");
	document.writeln("							<option>Syria");
	document.writeln("							<option>Taiwan");
	document.writeln("							<option>Tajikistan");
	document.writeln("							<option>Tanzania");
	document.writeln("							<option>Thailand");
	document.writeln("							<option>Togo");
	document.writeln("							<option>Tokelau");
	document.writeln("							<option>Tonga");
	document.writeln("							<option>Trinidad and Tobago (West Indies)");
	document.writeln("							<option>Tunisia");
	document.writeln("							<option>Turkey");
	document.writeln("							<option>Turkmenistan");
	document.writeln("							<option>Turks and Caicos Islands");
	document.writeln("							<option>Tuvalu");
	document.writeln("							<option>Uganda");
	document.writeln("							<option>Ukraine");
	document.writeln("							<option>United Arab Emirates");
	document.writeln("							<option>United Kingdom");
	document.writeln("							<option>United States of America");
	document.writeln("							<option>Uruguay");
	document.writeln("							<option>Uzbekistan");
	document.writeln("							<option>Vanuatu");
	document.writeln("							<option>Vatican City");
	document.writeln("							<option>Venezuela");
	document.writeln("							<option>Vietnam");
	document.writeln("							<option>Virgin Islands (US)");
	document.writeln("							<option>Wallis and Futuna Islands");
	document.writeln("							<option>Western Sahara");
	document.writeln("							<option>Yemen");
	document.writeln("							<option>Yugoslavia");
	document.writeln("							<option>Zaire");
	document.writeln("							<option>Zambia");
	document.writeln("							<option>Zimbabwe");
	document.writeln("						</selected>");
	document.writeln("					</td>");
	document.writeln("				</tr>");
	document.writeln("				<tr valign=middle>");
	document.writeln("					<td class=tl1R nowrap>Telephone</td>");
	document.writeln("					<td class=tr1>");
	document.writeln("						<input type='text' class=tl1 name='telephone' value='' style='height:19px; width:197px' maxlength='30'>");
	document.writeln("					</td>");
	document.writeln("				</tr>");
	document.writeln("				<tr valign=middle>");
	document.writeln("					<td class=tl1R nowrap>Delivery</td>");
	document.writeln("					<td class=tr1 nowrap>");
	document.writeln("						<select name='delivery' class=tl1 size='1' style='height:19px; width:197px'>");
	document.writeln("							<option selected='selected'>-- Choose delivery preference --");
	document.writeln("							<option>Registered Mail");
	document.writeln("							<option>Express Mail");
	document.writeln("						</selected>");
	document.writeln("					</td>");
	document.writeln("				</tr>");
	document.writeln("				</table>");
	document.writeln("			</td>");
	document.writeln("			<td class=tl1GY bgcolor=#ffffff width='50%'>");
	document.writeln("				<table cellspacing=0 cellpadding=2 border=0 width='100%'>");
	document.writeln("				<tr valign=middle>");
	document.writeln("					<td class=tl1GY>");
	document.writeln("						Please enter your full contact details. Fields in <font class=tl1R>red</font> are mandatory and required for all orders. <a href='payment.htm'>Shipping</a> costs will vary depending upon the preferred delivery preference.<br><br>Please note Eastern Vogue uses your personal information strictly to complete your order only. We <font class=tl1><u>do not</u></font> pass any information onto any third parties and do not use cookies to store any information on our website.<br><br><br><br><br>All our garments are shipped via airmail. Registered Mail is the cheapest option whilst Express Mail is more expensive and provides the added benefits of order tracking and quicker delivery.");
	document.writeln("					</td>");
	document.writeln("				</tr>");
	document.writeln("				</table>");
	document.writeln("			</td>");
	document.writeln("		</tr>");
	document.writeln("		</table>");
	document.writeln("	</td>");
	document.writeln("</tr>");
	document.writeln("</table>");
}

function marketing() {
	document.writeln("<a name='additionalinfo'></a>");
	document.writeln("<table cellspacing=0 cellpadding=0 border=0>");
	document.writeln("<tr valign=top>");
	document.writeln("	<td class=tl1><img src='images/grey_lt.gif' border=0 width=4 height=4></td>");
	document.writeln("	<td class=tl1 bgcolor=#999999><img src='images/spacer.gif' border=0 width=139 height=4></td>");
	document.writeln("	<td class=tl1><img src='images/grey_rt.gif' border=0 width=4 height=4></td>");
	document.writeln("</tr>");
	document.writeln("<tr valign=top>");
	document.writeln("	<td class=tl1W bgcolor=#999999 colspan=3 nowrap><b>&nbsp;&nbsp;Additional Information&nbsp;</b></td>");
	document.writeln("</tr>");
	document.writeln("<tr valign=top>");
	document.writeln("	<td class=tl1 bgcolor=#999999 colspan=3><img src='images/spacer.gif' border=0 height=4></td>");
	document.writeln("</tr>");
	document.writeln("</table>");

	document.writeln("<table cellspacing=0 cellpadding=0 border=0 width='100%'>");
	document.writeln("<tr valign=top>");
	document.writeln("	<td bgcolor=#D0D0D0>");
	document.writeln("		<table cellspacing=1 cellpadding=3 border=0 width='100%'>");
	document.writeln("		<tr valign=top>");
	document.writeln("			<td class=tl1GY bgcolor=#ffffff width='50%'>");
	document.writeln("				<table cellspacing=0 cellpadding=2 border=0 width='100%'>");
	document.writeln("				<tr valign=middle>");
	document.writeln("					<td class=tl1R nowrap>Advertising</td>");
	document.writeln("					<td class=tr1 nowrap>");
	document.writeln("						<select name='advertising' class=tl1 size='1' style='height:19px; width:197px'>");
	document.writeln("							<option selected='selected'>-- How did you hear about us? --");
	document.writeln("							<option>Ask.com");
	document.writeln("							<option>Google AdWords");
	document.writeln("							<option>Google Search");
	document.writeln("							<option>MSN");
	document.writeln("							<option>Muslim Directory");
	document.writeln("							<option>Word of mouth");
	document.writeln("							<option>Yahoo");
	document.writeln("							<option>Other (please enter below)");
	document.writeln("						</selected>");
	document.writeln("					</td>");
	document.writeln("				</tr>");
	document.writeln("				<tr valign=middle>");
	document.writeln("					<td class=tl1GY nowrap>Other</td>");
	document.writeln("					<td class=tr1 nowrap>");
	document.writeln("						<input type='text' class=tl1 name='otheradvertising' value='' style='height:19px; width:197px'>");
	document.writeln("					</td>");
	document.writeln("				</tr>");
	document.writeln("				</table>");
	document.writeln("			</td>");
	document.writeln("			<td class=tl1GY bgcolor=#ffffff width='50%'>");
	document.writeln("				<table cellspacing=0 cellpadding=2 border=0 width='100%'>");
	document.writeln("				<tr valign=middle>");
	document.writeln("					<td class=tl1GY>");
	document.writeln("						Please tell us how you heard about Eastern Vogue. Either select the search engine or choose Other and enter further details.");
	document.writeln("					</td>");
	document.writeln("				</tr>");
	document.writeln("				</table>");
	document.writeln("			</td>");
	document.writeln("		</tr>");
	document.writeln("		</table>");
	document.writeln("	</td>");
	document.writeln("</tr>");
	document.writeln("</table>");
}

function emailButton(frm) {
	document.writeln("<table cellspacing=0 cellpadding=0 border=0>");
	document.writeln("<tr valign=top>");
	document.writeln("	<td class=tl1 colspan=3 height=5 bgcolor=#ffffff><img src='images/spacer.gif' height=5></td>");
	document.writeln("</tr>");
	document.writeln("<tr valign=middle>");
	document.writeln("	<td class=tl1><input type='button' value='Generate Email Order Enquiry' onClick=\"" + frm + "\" class='tm1R' style='height:19px; width:170px;'></td>");
	document.writeln("	<td class=tl1 nowrap>&nbsp;&nbsp;&nbsp;</td>");
	document.writeln("	<td class=tl1R nowrap>Eastern Vogue will reply to all email enquiries within 5 business days</td>");
	document.writeln("</tr>");
	document.writeln("<tr>");
	document.writeln("	<td class=tl1 colspan=3>&nbsp;</td>");
	document.writeln("</tr>");
	document.writeln("</table>");
}

function newTag() {
	document.writeln("<table cellspacing=0 cellpadding=0 border=0 width='100%'>");
	document.writeln("<tr valign=middle>");
	document.writeln("	<td class=tm1><img src='images/new.gif' border=0 width=29 height=15></td>");
	document.writeln("</tr>");
	document.writeln("</table>");
}

function sizes(sizeType, sizeName) {
	document.writeln("<tr valign=middle>");
	document.writeln("	<td class=tl1R nowrap>" + sizeName + "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>");
	document.writeln("	<td class=tr1 colspan=2>");
	document.writeln("		<select name='abaya_" + sizeType + "' class=tl1 style='height:19px; width:220px;'>");
	document.writeln("			<option>-- Choose abaya " + sizeType + " size --");
	document.writeln("			<option>30in (76cm)");
	document.writeln("			<option>31in (79cm)");
	document.writeln("			<option>32in (81cm)");
	document.writeln("			<option>33in (84cm)");
	document.writeln("			<option>34in (86cm)");
	document.writeln("			<option>35in (89cm)");
	document.writeln("			<option>36in (91cm)");
	document.writeln("			<option>37in (94cm)");
	document.writeln("			<option>38in (97cm)");
	document.writeln("			<option>39in (99cm)");
	document.writeln("			<option>40in (102cm)");
	document.writeln("			<option>41in (104cm)");
	document.writeln("			<option>42in (107cm)");
	document.writeln("			<option>43in (109cm)");
	document.writeln("			<option>44in (112cm)");
	document.writeln("			<option>45in (114cm)");
	document.writeln("			<option>46in (117cm)");
	document.writeln("			<option>47in (119cm)");
	document.writeln("			<option>48in (122cm)");
	document.writeln("			<option>49in (125cm)");
	document.writeln("			<option>50in (127cm)");
	document.writeln("			<option>51in (130cm)");
	document.writeln("			<option>52in (132cm)");
	document.writeln("			<option>53in (135cm)");
	document.writeln("			<option>54in (137cm)");
	document.writeln("			<option>55in (140cm)");
	document.writeln("			<option>56in (142cm)");
	document.writeln("			<option>57in (145cm)");
	document.writeln("			<option>58in (147cm)");
	document.writeln("		</select>");
	document.writeln("	</td>");
	document.writeln("</tr>");
}