var homeurl="http://www.voilawatches.com/";
/* Functions that swaps images. */
function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function MM_swapImgRestore() { //v3.0	
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

/* Functions that handle preload. */
function MM_preloadImages() { //v3.0
 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
   var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
   if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

/*goURL*/
function MM_goToURL() { //v1.2
  for (var i=0; i< (MM_goToURL.arguments.length - 1); i+=2) //with arg pairs
    eval(MM_goToURL.arguments[i]+".location='"+MM_goToURL.arguments[i+1]+"'");
  document.MM_returnValue = false;
}

function writeFlash(mediaHTML) {
	document.write(mediaHTML);
}

function MM_nbGroup(event, grpName) { //v3.0
  var i,img,nbArr,args=MM_nbGroup.arguments;
  if (event == "init" && args.length > 2) {
    if ((img = MM_findObj(args[2])) != null && !img.MM_init) {
      img.MM_init = true; img.MM_up = args[3]; img.MM_dn = img.src;
      if ((nbArr = document[grpName]) == null) nbArr = document[grpName] = new Array();
      nbArr[nbArr.length] = img;
      for (i=4; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
        if (!img.MM_up) img.MM_up = img.src;
        img.src = img.MM_dn = args[i+1];
        nbArr[nbArr.length] = img;
    } }
  } else if (event == "over") {
    document.MM_nbOver = nbArr = new Array();
    for (i=1; i < args.length-1; i+=3) if ((img = MM_findObj(args[i])) != null) {
      if (!img.MM_up) img.MM_up = img.src;
      img.src = (img.MM_dn && args[i+2]) ? args[i+2] : args[i+1];
      nbArr[nbArr.length] = img;
    }
  } else if (event == "out" ) {
    for (i=0; i < document.MM_nbOver.length; i++) {
      img = document.MM_nbOver[i]; img.src = (img.MM_dn) ? img.MM_dn : img.MM_up; }
  } else if (event == "down") {
    if ((nbArr = document[grpName]) != null)
      for (i=0; i < nbArr.length; i++) { img=nbArr[i]; img.src = img.MM_up; img.MM_dn = 0; }
    document[grpName] = nbArr = new Array();
    for (i=2; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
      if (!img.MM_up) img.MM_up = img.src;
      img.src = img.MM_dn = args[i+1];
      nbArr[nbArr.length] = img;
  } }
}

function MM_findObj(n, d) { //v3.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); return x;
}

function MM_setTextOfLayer(objName,x,newText) { //v3.0
    var bV = parseInt(navigator.appVersion);
    if ((navigator.appName=='Netscape') && (bV > 4)  ) {
    	 document.getElementById(objName).innerHTML=unescape(newText);
    }
    if ((navigator.appName=='Netscape') && (bV<=4)  ) {
    	document.write(unescape(newText)); document.close();
    }
    else innerHTML = unescape(newText);
}

/* check flash plugin */
function checkplugin() {
	var plugin = 0;
	if (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"] && navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin) {
		if (navigator.plugins && navigator.plugins["Shockwave Flash"])
			plugin = 1;
	}
	else if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0 && (navigator.userAgent.indexOf("Windows 95")>=0 || navigator.userAgent.indexOf("Windows 98")>=0 || navigator.userAgent.indexOf("Windows NT")>=0)) {
		plugin = 1;
	}
	return plugin;
}

function createCookie(name,value,days)
{
	if (days)
	{
		var date = new Date();
		date.setTime(date.getTime()+(days*24*60*60*1000));
		var expires = "; expires="+date.toGMTString();
	}
	else var expires = "";
	document.cookie = name+"="+value+expires+"; path=/";
}

function readCookie(name)
{
	var nameEQ = name + "=";
	var ca = document.cookie.split(';');
	for(var i=0;i < ca.length;i++)
	{
		var c = ca[i];
		while (c.charAt(0)==' ') c = c.substring(1,c.length);
		if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
	}
	return null;
}

function eraseCookie(name)
{
	createCookie(name,"",-1);
}


// whitespace characters
var whitespace = " \t\n\r";
function isEmpty(s) {
	return ((s == null) || (s.length == 0))
}

// Returns true if string s is empty or
// whitespace characters only.
function isWhitespace (s) {
    var i;

    // Is s empty?
    if (isEmpty(s)) return true;

    // Search through string's characters one by one
    // until we find a non-whitespace character.
    // When we do, return false; if we don't, return true.

    for (i = 0; i < s.length; i++)
    {
        // Check that current character isn't whitespace.
    var c = s.charAt(i);
    if (whitespace.indexOf(c) == -1) return false;
    }

    // All characters are whitespace.
    return true;
}

function checkpresskitform(){
	var msg = "The ";
	var msg1= " field is incorrect/not complete, please re-enter";
	
	var name = document.presskitform.name.value;
	var lastname = document.presskitform.lastname.value;
	var companyname = document.presskitform.companyname.value;
	var addr1 = document.presskitform.addr1.value;
	var city = document.presskitform.city.value;
	var state = document.presskitform.state.value;
	var zip = document.presskitform.zip.value;	
	var country = document.presskitform.country.options[document.presskitform.country.options.selectedIndex].value;
	var phone = document.presskitform.phone.value;
	var email = document.presskitform.email.value;
	var goodEmail = email.match(/\b(^(\S+@).+((\.com)|(\.net)|(\.edu)|(\.mil)|(\.gov)|(\.org)|(\..{2,2}))$)\b/gi);
	
	if (isWhitespace(name)) {
		alert(msg + "Name" + msg1);
		return false;
	}
	if (isWhitespace(lastname)) {
		alert(msg + "Last Name" + msg1);
		return false;
	}
	if (isWhitespace(companyname)) {
		alert(msg + "Company Name" + msg1);
		return false;
	}
	if (isWhitespace(addr1)) {
		alert(msg + "Address" + msg1);
		return false;
	}
	if (isWhitespace(city)) {
		alert(msg + "City" + msg1);
		return false;
	}
	if (isWhitespace(state)) {
		alert(msg + "State" + msg1);
		return false;
	}	
	if (isWhitespace(zip)) {
		alert(msg + "Zip" + msg1);
		return false;
	}			
	if (isWhitespace(country)) {
		alert(msg + "Country" + msg1);
		return false;
	}
	if (isWhitespace(phone)) {
		alert(msg + "Phone" + msg1);
		return false;
	}
	if (isWhitespace(email)) {
		alert(msg + "Email" + msg1);
		return false;
	}
	if (isWhitespace(email) || !goodEmail){
		alert(msg + "Email" + msg1);
		document.presskitform.email.focus();
		return false;
	}
	else {
		//document.contactform.submit();
		return true;
	}
}

function checkcontactform() {
	var msg = "The ";
	var msg1= " field is incorrect/not complete, please re-enter";

	var title1 = document.contactform.title[0];
	var title2 = document.contactform.title[1];
	var title3 = document.contactform.title[2];
	var name = document.contactform.name.value;
	var lastname = document.contactform.lastname.value;
	var email = document.contactform.email.value;
	var country = document.contactform.country.options[document.contactform.country.options.selectedIndex].value;
	var age =document.contactform.age.options[document.contactform.age.options.selectedIndex].value;
	var own1 = document.contactform.own[0];
	var own2 = document.contactform.own[1];
	var serialno = document.contactform.serialno.value;
	var comments = document.contactform.comments.value;
	var goodEmail = email.match(/\b(^(\S+@).+((\.com)|(\.net)|(\.edu)|(\.mil)|(\.gov)|(\.org)|(\..{2,2}))$)\b/gi);


	if((title1.checked == false)  && (title2.checked == false) && (title3.checked == false)) {
		alert(msg + "Title" + msg1);
		return false;
	}
	if (isWhitespace(name)) {
		alert(msg + "Name" + msg1);
		return false;
	}
	if (isWhitespace(lastname)) {
		alert(msg + "Last Name" + msg1);
		return false;
	}
	if (isWhitespace(country)) {
		alert(msg + "Country" + msg1);
		return false;
	}
	if (isWhitespace(age)) {
		alert(msg + "Age" + msg1);
		return false;
	}
	if (isWhitespace(comments)) {
		alert(msg + "Comments" + msg1);
		return false;
	}
	if((own1.checked == false)  && (own2.checked == false)) {
		alert(msg + "VOILA Owner" + msg1);
		return false;
	}
	if ((own1.checked == true) && isWhitespace(serialno)) {
		alert(msg + "Reference No." + msg1);
		document.contactform.serialno.focus();
		return false;
	}
	if (isWhitespace(email) || !goodEmail){
		alert(msg + "Email" + msg1);
		document.contactform.email.focus();
		return false;
	}
	else {
		//document.contactform.submit();
		return true;
	}
}

function checkluckyform() {
	var msg = "The ";
	var msg1= " field is incorrect/not complete, please re-enter";

	var title1 = document.luckyform.title[0];
	var title2 = document.luckyform.title[1];
	var title3 = document.luckyform.title[2];
	var name = document.luckyform.name.value;
	var lastname = document.luckyform.lastname.value;
	var email = document.luckyform.email.value;
	var country = document.luckyform.country.options[document.luckyform.country.options.selectedIndex].value;
	var age =document.luckyform.age.options[document.luckyform.age.options.selectedIndex].value;
	var own1 = document.luckyform.own[0];
	var own2 = document.luckyform.own[1];
	var goodEmail = email.match(/\b(^(\S+@).+((\.com)|(\.net)|(\.edu)|(\.mil)|(\.gov)|(\.org)|(\..{2,2}))$)\b/gi);


	if((title1.checked == false)  && (title2.checked == false) && (title3.checked == false)) {
		alert(msg + "Title" + msg1);
		return false;
	}
	if (isWhitespace(name)) {
		alert(msg + "Name" + msg1);
		return false;
	}
	if (isWhitespace(lastname)) {
		alert(msg + "Last Name" + msg1);
		return false;
	}
	if (isWhitespace(country)) {
		alert(msg + "Country" + msg1);
		return false;
	}
	if (isWhitespace(age)) {
		alert(msg + "Age" + msg1);
		return false;
	}
	if((own1.checked == false)  && (own2.checked == false)) {
		alert(msg + "VOILA Owner" + msg1);
		return false;
	}
	if (isWhitespace(email) || !goodEmail){
		alert(msg + "Email" + msg1);
		document.luckyform.email.focus();
		return false;
	}
	else {
		//document.contactform.submit();
		return true;
	}
}

function checkinquiryform() {
	var msg = "The ";
	var msg1= " field is incorrect/not complete, please re-enter";

	var companyname = document.contactform.companyname.value;
	var address = document.contactform.address.value;
	var city = document.contactform.city.value;
	var country = document.contactform.country.options[document.contactform.country.options.selectedIndex].value;
	var title1 = document.contactform.title[0];
	var title2 = document.contactform.title[1];
	var title3 = document.contactform.title[2];
	var name = document.contactform.name.value;
	var lastname = document.contactform.lastname.value;
	var phone = document.contactform.phone.value;
	var fax = document.contactform.fax.value;
	var email = document.contactform.email.value;
	var businesscat = document.contactform.businesscat.options[document.contactform.businesscat.options.selectedIndex].value;
	var yearest = document.contactform.yearest.value;
	var interest_all = document.contactform.interest_all;
	var interest1 = document.contactform.interest1;
	var interest2 = document.contactform.interest2
	var interest3 = document.contactform.interest3;
	var interest4 = document.contactform.interest4;
	var interest5 = document.contactform.interest5;
	var interest6 = document.contactform.interest6;
	var interest7 = document.contactform.interest7;
	var interest8 = document.contactform.interest8;
	var interest9 = document.contactform.interest9;
	var interest10 = document.contactform.interest10;
	var interest11 = document.contactform.interest11;
	//var tobevoila = document.contactform.tobevoila.options[document.contactform.tobevoila.options.selectedIndex].value;
	var current1 = document.contactform.current[0];
	var current2 = document.contactform.current[1];
	var howtoknow = document.contactform.howtoknow.options[document.contactform.howtoknow.options.selectedIndex].value;
	var goodEmail = email.match(/\b(^(\S+@).+((\.com)|(\.net)|(\.edu)|(\.mil)|(\.gov)|(\.org)|(\..{2,2}))$)\b/gi);
	var badPhone = (phone.match(/[\+-,\(\)\[\]<>:\.\/\\]/gi) || phone.match(/[A-Z]/gi));
	var badFax = (fax.match(/[\+-,\(\)\[\]<>:\.\/\\]/gi) || fax.match(/[A-Z]/gi));

	if (isWhitespace(companyname)) {
		alert(msg + "Company Name" + msg1);
		return false;
	}
	if (isWhitespace(address)) {
		alert(msg + "Address" + msg1);
		return false;
	}
	if (isWhitespace(city)) {
		alert(msg + "City" + msg1);
		return false;
	}
	if (isWhitespace(country)) {
		alert(msg + "Country" + msg1);
		return false;
	}
	if((title1.checked == false)  && (title2.checked == false) && (title3.checked == false)) {
		alert(msg + "Title" + msg1);
		return false;
	}
	if (isWhitespace(name)) {
		alert(msg + "First Name" + msg1);
		return false;
	}
	if (isWhitespace(lastname)) {
		alert(msg + "Last Name" + msg1);
		return false;
	}
	if (isWhitespace(phone) || badPhone) {
		alert(msg + "Phone" + msg1);
		return false;
	}
	if (isWhitespace(fax) || badFax) {
		alert(msg + "Fax" + msg1);
		return false;
	}
	if (isWhitespace(email) || !goodEmail) {
		alert(msg + "Email" + msg1);
		return false;
	}
	if (isWhitespace(businesscat)) {
		alert(msg + "Main Business Category" + msg1);
		return false;
	}
	if (isWhitespace(yearest) || !yearest.match(/^\d\d\d\d$/)) {
		alert(msg + "Year Company Established" + msg1);
		return false;
	}
	if ((interest_all.checked == false) && (interest1.checked == false) && (interest2.checked == false) && (interest3.checked == false) && (interest4.checked == false) && (interest5.checked == false) && (interest6.checked == false) && (interest7.checked == false) && (interest8.checked == false) && (interest9.checked == false) && (interest10.checked == false) && (interest11.checked == false)) {
		alert(msg + "VOILA Product Interests" + msg1);
		return false;
	}
	/*
	if (isWhitespace(tobevoila)) {
		alert(msg + "considering to be a VOILA" + msg1);
		return false;
	}
	*/
	if ((current1.checked == false) && (current2.checked == false)) {
		alert(msg + "retailer of other watches" + msg1);
		return false;
	}
	if (isWhitespace(howtoknow)) {
		alert(msg + "How did you hear about VOILA" + msg1);
		return false;
	}

	return true;
}
function removeclick() {
	var isNav = (navigator.appName.indexOf("Netscape") != -1);
 	var isIE = (navigator.appName.indexOf("Microsoft") != -1);
 	var message="";

	if (isIE) {
		window.onblur=clickIE;
		window.onfocus=clickIE;
		document.onmouseup=clickIE;
		document.onmousedown=clickIE;
		document.onmove=clickIE;
		document.onselectstart=clickIE;
		document.oncontextmenu=clickIE;
		document.onkeypress = clickIE;
		document.onkeyDown = clickIE;
		document.onkeyUp = clickIE;
		document.body.onmouseover = clickIE;
		document.body.onmouseout = clickIE;

		Copied=document.body.createTextRange();
		Copied.findText(" ");
		Copied.execCommand("Copy");
		if (document.selection) {
			document.selection.empty();
			(message);
			return false;
		}
	}
	else if (isNav) {
		document.captureEvents(Event.MOUSEDOWN);
		document.captureEvents(Event.keypress);
		document.onmove=clickNS;
		document.onmousedown=clickNS;
		document.ondragdrop=clickNS;
		document.onmousemove=clickNS;
		document.onmouseup=clickNS;
		window.onblur=clickNS;
		document.onkeypress = clickNS;
		document.onkeyDown = clickNS;
		document.onkeyUp = clickNS;
		if(document.getSelection) {
			(message);
			return false;
		}

	}
	else {
		alert("Sorry! We're only support Internet Explorer 5.0 or above on Windows 32 Platfrom!");
		self.close();
	}
	document.oncontextmenu=new Function("return false");

}




function clickIE() {
	var message="";
	Copied=document.body.createTextRange();
	Copied.findText(" ");
	Copied.execCommand("Copy");
	if (document.selection) {
		document.selection.empty();
	}
	e=window.event;
	//if(e.type == "mousedown" && e.srcElement.tagName == "IMG") {
	//	alert(e.returnValue=false);
	//	(message);
	//	return false;
	//}
	(message);
	return false;
}


function clickNS(e) {
	var message="";
	if(document.getSelection) {
		return false;
	}
	if (e.which==2||e.which==3) {
		(message);
		return false;
	}
}

function setlocation() {
	var golocation=location.href;
	return;
}


function openfullwin(url) {
	newwin=window.open(url,'newwin','fullscreen=1,location=no,toolbar=no');
	createCookie("fullscreen",1);
	return;
}


function changedetail(id,leftrightslide,collectionhtml,leftrightproductid,leftrightprice) {
	document.leftproductimg.src="image/product/"+leftrightslide[id];
	document.cartform.productid.value = leftrightproductid[id];
	document.cartform.price.value = leftrightprice[id];

	var outhtml=collectionhtml[id];
	if (document.layers){
		document.layers.htmlsource.document.write(outhtml);
		document.layers.htmlsource.document.close();
	}
	else if (document.all)
		htmlsource.innerHTML=outhtml;
	else if (document.getElementById)
		document.getElementById("htmlsource").innerHTML=outhtml;
	return;
}

function changeleftimg(filename,productid,price) {
	document.leftproductimg.src=filename;
	document.cartform.productid.value = productid;
	document.cartform.price.value = price;
	return;
}

function openpresswin(url) {
	presswin=window.open(url,'presswin','width=570,height=500,location=no,toolbar=no,scrollbars');
	return;
}


//Set Variable to Flash , input: value
function doPassVar(args) {
	document.bottomswf.SetVariable("volume", args);
}

function mainbanner() {
	var bannerindex = new Array("Baselworld 07","kosmima07","roger");
	var bannername = new Array("first_banner_booth_baselworld07.gif","first_banner_counter_kosmima07.gif","first_banner_roger.gif");
	//var bannerf2name = new Array("fir_banner.gif","sec_banner.gif");
	var bannerurl = new Array("press.html","press.html","press.html");
	var bannerid=(Math.round(Math.random()*1000) % bannerindex.length);
	
	var bannerindex2 = new Array("","","");
	var bannername2 = new Array("sec_banner_no5.gif","sec_banner_superstarchrono.gif","sec_banner_orientalbreeze.gif");//,"sec_banner_orientalbreeze.gif"
	var bannerurl2 = new Array("nov.html","superstarchronograph.html","orientalbreeze.html");//,"orientalbreeze.html"
	var bannerid2=(Math.round(Math.random()*1000) % bannerindex2.length);
		
	var bannerhtml="";
	var bannerhtml2="";
	var arimglist = new Array();
	//arimglist[0] = new Image();
	//arimglist[0].src = "../images/"+bannerf2name[bannerid];
	arimglist[0] = new Image();
	arimglist[0].src = "images/banner/"+bannername[bannerid];
	arimglist[1] = new Image();
	arimglist[1].src = "images/banner/"+bannername2[bannerid];	
	//bannerhtml="<a href=\""+bannerurl[bannerid]+"\"  onMouseOut=\"MM_swapImgRestore();\"  onMouseOver=\"MM_swapImage('centerimg','','images/"+bannerf2name[bannerid]+"',1);\"><img src=\"images/"+bannername[bannerid]+"\" border=0 alt=\""+bannerindex[bannerid]+"\" name=centerimg></a>";
	bannerhtml="<a href=\""+bannerurl[bannerid]+"\"><div><img src=\"images/banner/"+bannername[bannerid]+"\" border=0 alt=\""+bannerindex[bannerid]+"\" name=centerimg width=177 height=145></div></a>";
	bannerhtml2="<a href=\""+bannerurl2[bannerid2]+"\"><div><img src=\"images/banner/"+bannername2[bannerid2]+"\" border=0 alt=\""+bannerindex2[bannerid2]+"\" name=centerimg></div></a>";
	if (document.layers){
		document.layers.bannersource.document.write(bannerhtml);
		document.layers.bannersource.document.close();
	}
	else if (document.all)
		bannersource.innerHTML=bannerhtml;
	else if (document.getElementById)
		document.getElementById("bannersource").innerHTML=bannerhtml;
		document.getElementById("bannersource2").innerHTML=bannerhtml2;
	//tim_int=setTimeout("mainbanner()",5000);
}

function opensmallwin(url) {
	var w = 390;
	var h = 180;
	var LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
	var TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
	smallwin=window.open(url,'smallwin','width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',resizable=no,status=no');
	return;
}

function opensmallwin2(url) {
	var w = 500;
	var h = 380;
	var LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
	var TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
	smallwin2=window.open(url,'smallwin2','width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',resizable=no,status=no, scrollbars=no');
	return;
}

function opensmallwin3(url) {
	var w = 500;
	var h = 200;
	var LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
	var TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
	smallwin2=window.open(url,'smallwin2','width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',resizable=no,status=no, scrollbars=no');
	return;
}

function changeswf(url) {
	if (document.all) {
		document.fashionswf.movie=url;
	} else {
		document.swf.src=url;
	}
	return;
}
function tvcShow(path,id){
	$("#tvcdisplay").html('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,28,0" width="320" height="285" wmode="transparent"> <param name="movie" value="'+path+'"> <param name="quality" value="high"> <param name="wmode" value="transparent"> <embed src="'+path+'" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="320" height="285"></embed></object>');
	//MM_swapImage(butid,'',swapid,1);
	var menu = new Array();
	menu[1] = getTVC(1,'images/tvc/1.swf');
	menu[2] = getTVC(2,'images/tvc/2.swf');
	menu[3] = getTVC(3,'images/tvc/3.swf');
	menu[4] = getTVC(4,'images/tvc/4.swf');
	menu[5] = getTVC(5,'images/tvc/5.swf');
	menu[6] = getTVC(6,'images/tvc/6.swf');
	menu[7] = getTVC(7,'images/tvc/7.swf');
	menu[8] = getTVC(8,'images/tvc/8.swf');
	menu[9] = getTVC(9,'images/tvc/9.swf');
	menu[10] = getTVC(10,'images/tvc/10.swf');
	menu[11] = getTVC(11,'images/tvc/11.swf');
	menu[12] = getTVC(12,'images/tvc/12.swf');
	menu[13] = getTVC(13,'images/tvc/13.swf');
	menu[14] = getTVC(14,'images/tvc/14.swf');
	$("#tvcLeftContent").html(menu[id]);
	var dlmenu = new Array();
dlmenu[1] = '<a onmouseover="MM_swapImage(\'dlbut\',\'\',\'images/tvc_downloadbtn_f2.jpg\',1);" onmouseout="MM_swapImgRestore();" href="http://www.voilawatches.com/tvc/Voila-trophies.wmv" id="menutab"><img width="141" height="32" border="0" name="dlbut" alt="" src="images/tvc_downloadbtn.jpg"/></a>';
dlmenu[2] = '<a onmouseover="MM_swapImage(\'dlbut\',\'\',\'images/tvc_downloadbtn_f2.jpg\',1);" onmouseout="MM_swapImgRestore();" href="http://www.voilawatches.com/tvc/Voila-slap-on.wmv" id="menutab"><img width="141" height="32" border="0" name="dlbut" alt="" src="images/tvc_downloadbtn.jpg"/></a>';
dlmenu[3] = '<a onmouseover="MM_swapImage(\'dlbut\',\'\',\'images/tvc_downloadbtn_f2.jpg\',1);" onmouseout="MM_swapImgRestore();" href="http://www.voilawatches.com/tvc/voila-lkf-hi.wmv" id="menutab"><img width="141" height="32" border="0" name="dlbut" alt="" src="images/tvc_downloadbtn.jpg"/></a>';
dlmenu[4] = '';
dlmenu[5] = '';
dlmenu[6] = '';
dlmenu[7] = '';
dlmenu[8] = '';
dlmenu[9] = '';
dlmenu[10] = '';
dlmenu[11] = '';
dlmenu[12] = '';
dlmenu[13] = '';
dlmenu[14] = '';
	$("#tvcdl").html(dlmenu[id]);
	$(function(){
		// this initialises the demo scollpanes on the page.
		$('#pane1').jScrollPane({scrollbarWidth:3});
	});		
}

function getTVC(id, path){
	var seq = [14,13,12,11,10,8,9,6,7,4,5,1,2,3];
	var str = '<div id="pane1" class="tvcscroll-pane"><div id="cmenuhr2"></div>';
	var height = 0;
	for (i=0; i<seq.length; i++){
		((seq[i] > 3 && seq[i] < 7)||seq[i] == 9||seq[i] == 11||seq[i] == 12)?height=35:height=25;
		if(seq[i] == id) {
			str += '<div><a id="cmenu'+seq[i]+'" class="tvcmenu" href="#"  onClick="tvcShow(\'images/tvc/'+seq[i]+'.swf\','+seq[i]+');"><img src=\'images/tvcmenu_'+seq[i]+'_f2.gif\' width=200 height='+height+' border=0  alt="" name=but'+seq[i]+'></a></div>';
		}else{
			str += '<div><a id="cmenu'+seq[i]+'" class="tvcmenu" href="#"  onMouseOut="MM_swapImgRestore();"  onMouseOver="MM_swapImage(\'but'+seq[i]+'\',\'\',\'images/tvcmenu_'+seq[i]+'_f2.gif\',1);" onClick="tvcShow(\'images/tvc/'+seq[i]+'.swf\','+seq[i]+');"><img src=\'images/tvcmenu_'+seq[i]+'.gif\' width=200 height='+height+' border=0  alt="" name=but'+seq[i]+'></a></div>';
		}
		if(i != (seq.length-1)){
			str += '<div id="cmenuhr"></div>';
		}
		
	}
	str += '<div id="cmenuhr2"></div></div>';
	return str;
}

function fashion(){

var fashionlink=new Array();
fashionlink[18]=new Array("images/highlights/AmericanWoomanLaunchEvent2010.swf","American Wooman Launch Event - 2010");
fashionlink[17]=new Array("images/highlights/SavageLoveEventBaselworld2010.swf","Savage Love Event - Baselworld 2010");
fashionlink[16]=new Array("images/highlights/baselworld2009soireeorientale.swf","Baselworld 2009<br> - Soiree Orientale");
fashionlink[15]=new Array("images/highlights/asiamostbeautiful2008.swf","Asia's Most Beautiful<br> - 2008");
fashionlink[14]=new Array("images/basel2008.swf","Baselworld 2008<br> - Soiree de Superstar");
fashionlink[13]=new Array("images/basel2007.swf","Baselworld 2007<br> - Birth of Superstar");
fashionlink[12]=new Array("images/voyeur07.swf","Voyeur - VO!LA Fashion Industry Party 2007");
fashionlink[11]=new Array("images/hkwatchclock2007.swf","HK Watch & Clock Fair 2007");
fashionlink[10]=new Array("images/lingeriefashionshow2006.swf","Luxury Watch & Lingerie Fashion Show 2006");
fashionlink[9]=new Array("images/hkwatchclock2006.swf","HK Watch & Clock Fair 2006");
fashionlink[8]=new Array("images/hkijs2006.swf","HK Intl. Jewellery Fair 2006");
fashionlink[7]=new Array("images/hkwatchclock2005.swf","HK Watch & Clock Fair 2005");
fashionlink[6]=new Array("images/hkijs2005.swf","HK Intl. Jewellery Fair 2005");
fashionlink[5]=new Array("images/hkwatchclock2004.swf","HK Watch & Clock Fair 2004");
fashionlink[4]=new Array("images/hkjewelleryfair2004.swf","HK Intl. Jewellery Fair 2004");
fashionlink[3]=new Array("images/watchclock_fair03.swf","HK Watch & Clock Fair 2003");
fashionlink[2]=new Array("images/jew_fair.swf","HK Jewellery Fair 2003");
fashionlink[1]=new Array("images/hkwatchfair.swf","HK Watch & Clock Fair 2002");
fashionlink[0]=new Array("images/basel.swf","Basel 2002");
var contenthtml="";
var lefthtml="<table border=0 cellspacing=0 cellpadding=0 id=eventtable><tr>";
var temp=new Array;
var printCnt = 0;
	//for(i=fashionlink.length -1; i>=0; i--) {
		//if (printCnt % 3 == 0 && printCnt>0) lefthtml+="</tr><tr>";
	for(i=fashionlink.length -1; i>=0; i--) {
		if (printCnt % 3 == 0 && printCnt>0) lefthtml+="</tr><tr>";
		temp=fashionlink[i];
		lefthtml+="<td >"+"<div><object id=\"fashionswf\" width=\"163\" height=\"135\" name=\"fashionswf" + i + "\" codebase=\"http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0\" classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\"><param value=\""+temp[0]+"\" name=\"movie\"/><param value=\"high\" name=\"quality\"/><param name=\"wmode\" value=\"transparent\" /><embed width=\"163\" height=\"135\" wmode=\"transparent\" name=\"fashionswf" + i + "\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" quality=\"high\" src=\""+temp[0]+"\"/></object></div>"+"<div id=eventDesc><div id=eventDescText>"+temp[1]+"</div></div>"+"</td>";
		printCnt++;
	}
	lefthtml+="</tr></table>"
	//leftshowlayer(lefthtml);
	return lefthtml;
}
function pressrelease(){
	var presslink=new Array();
presslink[42]=new Array("http://www.voilawatches.com/news/VOILA-Press-Release-Apr-29-2010.html","VO!LA WOOMAN Premiere, Baselworld, Apr '10"); 
presslink[41]=new Array("http://www.voilawatches.com/news/HongKongJewelleryFairReport.html","VO!LA on Channel News Asia TV, Oct '09"); 
presslink[40]=new Array("http://www.voilawatches.com/news/VOILA-in-VOGUE-Oriental-Breeze-Apr-24-2009.html","VO!LA in VOGUE, Apr '09"); 
presslink[39]=new Array("http://www.voilawatches.com/news/VOILA-General-Release-Oriental-Breeze-Apr-02-2009.html","Oriental Breeze Premieres at Baselworld, Apr '09"); 
presslink[38]=new Array("VOILA-World-Premiere-Oriental-Breeze-PR.pdf","VO!LA World Premiere Oriental Breeze PR, Mar '09"); 
presslink[37]=new Array("Gold-for-VOILA-Press-Release-Dec-2008.pdf","Gold for VO!LA, Dec '08"); 
presslink[36]=new Array("VOILA-Press-Release-Aug-21-2008-Website.html","Beijing Dream Press Release, Aug '08"); 
presslink[35]=new Array("http://www.youtube.com/watch?v=ut5putREk2o","House of VO!LA launches Beijing Dream, Baselworld, Apr '08"); 
presslink[34]=new Array("Beijing-Dream-Release.pdf","VO!LA  Press Release - Beijing Dream, Apr '08");
presslink[33]=new Array("Bahrain-Alahd-January-30-2008-Pg1.html","Bahrain Alahd Adverts, Jan-Mar '08"); 
presslink[32]=new Array("House_of_VOILA_at_IJT_2008_Tokyo.pdf","House of VO!LA at IJT, Tokyo, Jan '08"); 
presslink[31]=new Array("VOILA_sponsorship_for_Russian_Winter_Ball_2008.pdf","VO!LA sponsorship for Russian Winter Ball, Jan '08");
presslink[30]=new Array("House_of_VOILA_at_Kosmima_2007.pdf","House of VO!LA at Kosmima, Greece, Dec '07");
presslink[29]=new Array("House-of-VOILA-at-Baselworld-2007.pdf","House of VO!LA at Baselworld, May '07");  
presslink[28]=new Array("VOILA-Press-Release-Baselworld-2007.pdf","VO!LA Press Release - Baselworld, Mar '07");  
presslink[27]=new Array("VOILA_Voyeur_party.pdf","VO!LA Fashion Industry Party, Mar '07");
presslink[26]=new Array("VOILA-voyeur-invite.html","VO!LA Fashion Industry Invite, Mar '07");
presslink[25]=new Array("Tokyo-International-Gift-Show-2007.pdf","VO!LA Tokyo International Gift Show, Feb '07");
presslink[24]=new Array("Luxury-Watch-Lingerie-Show-by-VOILA.pdf","Luxury Watch &amp; Lingerie Show by VO!LA, Dec '06");
presslink[23]=new Array("SpainFiesta-HKOct06-Pg1.html","Spanish Fiesta HK, Oct '06");
presslink[22]=new Array("Beijing-Press-July06-Pg1.html","Beijing Press Preview Party, Jul '06");
presslink[21]=new Array("BaselWorld2006-Pg1.html","BaselWorld 2006, Apr '06");
presslink[20]=new Array("BaselWorld2006-PressPg1.html","BaselWorld 2006 - Press Preview, Apr '06");
presslink[19]=new Array("SpainFestivalHKOct05-Pg1.html","Spain HK Festival, Oct '05");
presslink[18]=new Array("Shanghai-July2805-Pg1.html","Shanghai Press Reception, Jul '05");
presslink[17]=new Array("Beijing-Jun1105-Pg1.html","Beijing Fashion Press Show, Jun '05");
presslink[16]=new Array("JCKMagazine_Advert_July05.html","JCK Magazine Ad, July '05");
presslink[15]=new Array("Voila_jckshow2005_01.html","The JCK Show US Debut Cocktail Reception, Jun '05");
presslink[14]=new Array("HimMagazine_Advert_May05.html","Him Magazine Chevalier Ad, May '05");
presslink[13]=new Array("HKRotaryBall-May05-Pg1.html","Rotary Club Hong Kong Annual Ball, May '05");
presslink[12]=new Array("FragrantHarbour_Advert_Apr05.html","Fragrant Harbour Grande Cruz Ad, Apr '05");
presslink[11]=new Array("IstanbulShow_Mar05-Pg1.html","Istanbul 2005 - Jewelry Show I, Mar '05");
presslink[10]=new Array("THDist-May05-Pg1.html","Thailand Watch Jewelry Show, Jan '05");
presslink[9]=new Array("Layalina_ad_Dec04.html","Layalina (Bahrain) No. 8 Ad, Dec '04");
presslink[8]=new Array("HMC_ad_Dec04.html","HMC (HK) No. 8 Ad, Dec '04");
presslink[7]=new Array("HKDist-Oct04-Pg1.html","Hong Kong Pre-Launch Celebrity Party, Oct '04");
presslink[6]=new Array("HKEsp-Oct04-Pg1.html","Spain National Day La Fiesta Espanola II, Oct '04");
presslink[5]=new Array("Womans_Taiwan_Collection_Ad_Feb04.html","Woman's (Taiwan) Collection Ad, Feb '04");
presslink[4]=new Array("Womans_Taiwan_OpLa_Ad_Feb04.html","Woman's (Taiwan) OpLa Ad, Feb '04");
presslink[3]=new Array("Womans_Taiwan_Advert_Feb04.html","Women's (Taiwan) Ad, Feb '04");
presslink[2]=new Array("hkjfb_2002.html","HK Jewellery Fair Brochure, Sep '02");
presslink[1]=new Array("esa_2002.html","Europa Star Ad, Mar '02");
presslink[0]=new Array("lba_2002.html","Le Bijoutier Ad, Mar '02");
var contenthtml="";
var lefthtml="";
var temp=new Array;
	for(i=presslink.length-1; i>=0; i--) {
		temp=presslink[i];
		if(0) {
			lefthtml+="<div id=\"pressSubject\"><div id=\"pressbar\"><img src=\"images/highlight_bar.gif\" width=7 height=9 border=0></div><div id=\"presslink\"><a href='javascript:openpresswin('"+temp[0]+"')'>"+temp[1]+"</a></div></div>";
		}
		else {
			lefthtml+="<div id=\"pressSubject\"><div id=\"pressbar\"><img src=\"images/highlight_bar.gif\" width=7 height=9 border=0></div><div id=\"presslink\"><a href='javascript:openpresswin(\""+temp[0]+"\")'>"+temp[1]+"</a></div></div>";
		}
	}
	leftshowlayer(lefthtml);
}

function mediaclips(){

var medialink=new Array();
medialink[157]=new Array("VOILA-AMERCIAN-WOOMAN-SCMP-Jul-13-10.pdf","SCMP Cityseen, Jul '10");
medialink[156]=new Array("Edelmetaal-June-2010.html","Edelmetaal, June '10");
medialink[155]=new Array("Le-Bijoutier-April-2010.html","Le Bijoutier, April '10");
medialink[154]=new Array("Elan-The-Standard-Apr-10.html","Elan - The Standard, Apr '10");
medialink[153]=new Array("Dreams-Apr-10.html","Dreams, Apr '10");
medialink[152]=new Array("Basle-Zeitung-March-23-2010.pdf","Basle Zeitung, March '10");
medialink[151]=new Array("The-Goldsmith-Dec-2009.html","The Goldsmith, Dec '09");
medialink[150]=new Array("Horozima-Nov-09.pdf","Horozima, Nov '09");
medialink[149]=new Array("Duplex-Press-Spain-Oct-2009.html","Duplex Press, Oct '09");
medialink[148]=new Array("Temporis-Sept-2009.pdf","Temporis, Sep '09");
medialink[147]=new Array("Orologi-da-POLSO-Sep-2009.html","Orologi da Polso, Sep '09");
medialink[146]=new Array("Europe-No295-3-Jun-Jul-09.html","Europa Star, Jun-Jul '09");
medialink[145]=new Array("L-Orafo-Italiano-06-09.html","l'Orafo Italiano, Jun '09");
medialink[144]=new Array("VOGUEJune2009.pdf","Vogue, Jun '09");
medialink[143]=new Array("Al-Mara-English-June-09.html","Al Mar'a (English) Jun '09");
medialink[142]=new Array("Al-Mara-Arabic-June-09.html","Al Mar'a (Arabic) Jun '09");
medialink[141]=new Array("Trade-Media-Watch-Clock-May-2009.pdf","Trade Media Watch & Clock, May '09");
medialink[140]=new Array("EdelmetaalMagazine-May-09.html","Edelmetaal, May '09");
medialink[139]=new Array("Edelmetaal-April-2009.pdf","Edelmetaal, Apr '09");
medialink[138]=new Array("WoW-Issue-03-09.html","WOW World of Wellness, Mar '09");
medialink[137]=new Array("FZ-Magazine-March-2009.pdf","FZ Magazine, Mar '09");
medialink[136]=new Array("Baselworld-Daily-News-March-27-2009.html","Baselworld Daily News, Mar '09");
medialink[135]=new Array("Tourbillon-Nr-16-Winter-2008-Scandal-VOILA-vs-Ulysee-Nardin.pdf","Tourbillon Magazine No. 16, Dec '08");
medialink[134]=new Array("Tourbillon-No-15-Gold-for-VOILA-article-with-translation.pdf","Tourbillon Magazine No. 15, Dec '08");
medialink[133]=new Array("Tourbillon-No-15-Fig-8-Jay-Sean.pdf","Tourbillon Magazine No. 15, Dec '08");
medialink[132]=new Array("Jewellery-News-Asia-Nov-08-01.html","Jewellery News Asia, Nov '08");
medialink[131]=new Array("ReviewAsia-Issue18-Oct15-08.html","Review Asia, Oct '08");
medialink[130]=new Array("Diamond-World-VOILA-launches-Beijing-Dream.pdf","Diamond World, Aug '08");
medialink[129]=new Array("Jewellery-News-Asia-Aug-2008.html","Jewellery News Asia, Aug '08");
medialink[128]=new Array("Europa-Star-June-July-2008.html","Europa Star, Jun-Jul '08");
medialink[127]=new Array("China-Fashion-Jewelry-Jun08-V5-01.html","China Fashion Jewelry, Jun '08");
medialink[126]=new Array("Temps-Summer-08-Issue-Vol-7.html","Temps Vol.7, Summer '08");
medialink[125]=new Array("InSync-Watches-Jun-08.html","InSync Watches, Jun '08");
medialink[124]=new Array("STORY-Jun-20-08.html","STORY, Jun '08");
medialink[123]=new Array("CLASSY-Jun-08.html","CLASSY, Jun '08");
medialink[122]=new Array("Brides-Now-May-June-08.html","Brides Now, May-Jun '08");
medialink[121]=new Array("National-Jeweler-Magazine-May-2008.html","National Jeweler, May '08");
medialink[120]=new Array("Hora-and-Fashion-Mag-May-20.html","Hora and Fashion, May '08");
medialink[119]=new Array("Europa-Star-Special-May-2008.html","Europa Star Special, May '08");
medialink[118]=new Array("Lamasat-May-08.html","Lamasat, May '08");
medialink[117]=new Array("Beats-Mag-April-08.html","Beats Mag, Apr '08");
medialink[116]=new Array("GLITTER-April-08.html","GLITTER, Apr '08");
medialink[115]=new Array("The-New-Jeweller-April-08.html","The New Jeweller, Apr '08");
medialink[114]=new Array("PERSPECTIVE-Mar-08.html","PERSPECTIVE, Mar '08");
medialink[113]=new Array("Le-Bijoutier-Mar-2008.html","Le Bijoutier, Mar '08");
medialink[112]=new Array("Jewellery-Mar-2008.html","Jewellery, Mar '08");
medialink[111]=new Array("FZ-Magazine-March-08.html","FZ magazine, Mar '08");
medialink[110]=new Array("25ans-magazine-Mar08.html","25ans magazine, Mar '08");
medialink[109]=new Array("World-Tempus-Feb-17-2008.pdf","World Tempus, Feb '07");
medialink[108]=new Array("Time-Style-Dec-07.html","Time Style, Dec '07");
medialink[107]=new Array("Jewellery_News_Asia-Page_1_Nov07.html","Jewellery News Asia, Nov '07");
medialink[106]=new Array("Edelmetaal-Nov07.html","Edelmetaal, Nov '07");
medialink[105]=new Array("Diamondworld_net-Oct07.pdf","Diamond World, Oct '07");
medialink[104]=new Array("Watch-Review-Vol4-Sep07-01.html","Watch Review Vol. 4, Sep '07");
medialink[103]=new Array("TDC-Trade_03-09-2007.pdf","Hong Kong Trader, Sep '07"); 
medialink[102]=new Array("Tradepost-India-Aug07.html","Tradepost India, Aug '07");    
medialink[101]=new Array("Diamond_Navi_2007_Vol4.html","Diamond Navi, Jun '07"); 
medialink[100]=new Array("China-Gem-and-Jewellery-Apr07.html","China Gem and Jewellery, Apr '07");    
medialink[99]=new Array("Jewellery-News-Asia-Apr07.html","Jewellery News Asia, Apr '07");    
medialink[98]=new Array("Basel-News-Daily-Apr07.html","Basel News Daily, Apr '07");    
medialink[97]=new Array("Europa-Star-Apr07.html","Europa Star, Apr '07");    
medialink[96]=new Array("Dreams-Apr07.html","Dreams, Apr '07");   
medialink[95]=new Array("Newtide-Mar07.html","New Tide, Mar '07");   
medialink[94]=new Array("Bangkok-Gems-and-Jewellery-Feb07-pg1.html","Bangkok Gems and Jewellery, Feb '07");    
medialink[93]=new Array("Watch-Review-Vol-2-2007-Pg1.html","Watch Review, Feb '07");
medialink[92]=new Array("Watch-Review-Vol-1-2007-Pg1.html","Watch Review, Jan '07");
medialink[91]=new Array("World-One-Jan-2007.html","World One Magazine, Jan '07");  
medialink[90]=new Array("Time-N-Style-NovDec06.html","Time N' Style, Nov/Dec '06");    
medialink[89]=new Array("SCMP-Nov-25-2006.html","SCMP, Nov '06");    
medialink[88]=new Array("Europa-Star-Oct-Nov-2006_Pg1.html","Europa Star, Oct/Nov '06");    
medialink[87]=new Array("Jewellery-News-Asia-Nov-2006.html","Jewellery News Asia, Nov '06");    
medialink[86]=new Array("Watch-Market-Review-Oct-2006.html","Watch Market Review, Oct '06");    
medialink[85]=new Array("Arte-Y-Hora-Oct-2006.html","Arte Y Hora, Oct '06");           
medialink[84]=new Array("FZ-Asia-Sept-2006.html","FZ Asia Magazine, Sep '06");    
medialink[83]=new Array("CMP-Sept-2006.html","Jewellery Net Asia, Sep '06");    
medialink[82]=new Array("HR-Magazine-Sept-2006.html","HR Magazine, Sep '06");    
medialink[81]=new Array("SCMP-Sept-01-2006.html","SCMP, Sep '06");    
medialink[80]=new Array("New-Tide-Malaysia-Sept-2006.html","New Tide Malaysia, Sep '06");    
medialink[79]=new Array("Layaline-Bahrain-Sept-2006.html","Layaline Bahrain, Sep '06");    
medialink[78]=new Array("LorafoMag-Aug06.html","L'Orafo, Aug '06");    
medialink[77]=new Array("Time-N-Style-August-2006-pg1.html","Time N' Style, Aug '06");    
medialink[76]=new Array("Tradepost-India-Aug-2006-pg1.html","Tradepost India, Aug '06");    
medialink[75]=new Array("ICON-Jul-2006.html","ICON, Jul '06");    
medialink[74]=new Array("Collection-Magazine-Lebanon-Jun06.html","Collection Magazine, Jun '06");                                                                                                     
medialink[73]=new Array("Standard-Watch-Supplement-May06-P01.html","The Standard, May '06");                                                                                                     
medialink[72]=new Array("Instore-Magazine-Apr06.html","Instore Magazine, Apr '06");                                                                                                     
medialink[71]=new Array("Orologi-da-Polso-Apr06.html","Orologi da Polso, Apr '06");                                                                                                     
medialink[70]=new Array("Watch-Review-Apr06.html","Watch Review, Apr '06");                                                                                                     
medialink[69]=new Array("Europa-Star-Apr06.html","Europa Star, Apr '06");
medialink[68]=new Array("Collection-Magazine-Apr06.html","Collection Magazine, Apr '06");       
medialink[67]=new Array("Arabian-Watches-Jewellery-Apr06.html","Arabian Watches Jewellery, Apr '06");
medialink[66]=new Array("HKJewellery-Magazine-FeaturesPg1-Mar06.html","HK Jewellery Magazine - Features, Mar '06");
medialink[65]=new Array("HKJewellery-Magazine-LostinTime-Mar06.html","HK Jewellery Magazine, Mar '06");
medialink[64]=new Array("La-France-Horologere-Mar06.html","La France Horologere, Mar '06");
medialink[63]=new Array("HKJewellery-Magazine-Voila-Mar06.html","HKJewellery Magazine, Mar '06");
medialink[62]=new Array("HKTDC-mar06.html","HKTDC Fair Daily, Mar '06");
medialink[61]=new Array("FZ-magazine-feb06.html","FZ Magazine, Feb '06");
medialink[60]=new Array("Time-n-style_jan-feb2006.html","Time N Style, Jan-Feb '06");
medialink[59]=new Array("HKCommercial-Daily_Dec05.html","HK Commercial Daily, Dec '05");
medialink[58]=new Array("Watchbeat_dec05.html","WatchBEAT, Dec '05");
medialink[57]=new Array("Jessicacode_dec05.html","Jessica Code, Dec '05");
medialink[56]=new Array("Time-n-style_nov-dec2005.html","Time N Style, Nov-Dec '05");
medialink[55]=new Array("Europastar_nov05.html","Europa Star, Oct-Nov '05");
medialink[54]=new Array("JIC_oct05.html","Jewelry Information Center, Oct '05");
medialink[53]=new Array("Le-Figaro_Sept2005.html","Le Figaro, Sep '05");
medialink[52]=new Array("LHeure_sept2005-pg1.html","L' Heure, Sep '05");
medialink[51]=new Array("hkeconomictimes_sept2705.html","Hong Kong Economic Times, Sep '05");
medialink[50]=new Array("scmpmagazine_chevalier_jun1205.html","SCMP Magazine, Jun '05");
medialink[49]=new Array("OraMagazin_May05.html","Ora Magazin, May '05");
medialink[48]=new Array("GemVision_CultSignity_Apr05.html","Gem Vision Cult Signity, Apr '05");
medialink[47]=new Array("Instore_Magazine_Apr05.html","Instore Magazine, Apr '05");
medialink[46]=new Array("WatchReview_April05_Pg1.html","Watch Review, Apr '05");
medialink[45]=new Array("SCMP_Mar05.html","SCMP, Mar '05");
medialink[44]=new Array("OrologiDaPolso_Feb05_Pg1.html","Orologi Da Polso, Feb '05");
medialink[43]=new Array("EuropaStar_Jan05.html","Europa Star, Jan '05");
medialink[42]=new Array("Solitaire_Jan05.html","Solitaire, Jan '05");
medialink[41]=new Array("GlobalSources_Outlook_Jan05_Pg1.html","Global Sources, Jan '05");
medialink[40]=new Array("GlobalSources_Timepieces_Jan05_Pg1.html","Timepieces, Jan '05");
medialink[39]=new Array("ElleHK_Dec04.html","Elle HK, Dec '04");
medialink[38]=new Array("Layalina_Dec04.html","Layalina Magazine, Dec '04");
medialink[37]=new Array("WeeklyLouieLouie_Dec04_pg01.html","Weekly Louie Louie, Dec '04");
medialink[36]=new Array("WatchBeat_Dec04.html","Watch Beat, Dec '04");
medialink[35]=new Array("CaptialWeeklyExpress_Nov04.html","Captial Weekly, Nov '04");
medialink[34]=new Array("Perspective_November04.html","Perspective, Nov '04");
medialink[33]=new Array("JapanMensBrand_Nov04.html","Men's Brand, Nov '04");
medialink[32]=new Array("Mingpao_Oct3104.html","Mingpao Daily, Oct '04");
medialink[31]=new Array("GZ-Sept04-Pg1.html","GZ Magazine, Sep '04");
medialink[30]=new Array("OrologiDaPolso_Sep04_Pg1.html","Orologi Da Polso, Sep '04");
medialink[29]=new Array("NationalJeweler090704_Voilano8.html","National Jeweler, Sept '04");
medialink[28]=new Array("MingpaoDailySep04.html","Mingpao Daily, Sep '04");
medialink[27]=new Array("WatchMarketReview_Jul04_No8.html","Watch Market Review, Jul '04");
medialink[26]=new Array("SCMP_Jun04.html","SCMP, Jun '04");
medialink[25]=new Array("No8_EuropaStar_Apr04.html","Europa Star Magazine, Apr '04");
medialink[24]=new Array("JewelleryNewsAsia_Mar04.html","Jewellery News Asia, Mar '04");
medialink[23]=new Array("SCMPNo8_mar04.html","SCMP, Mar '04");
medialink[22]=new Array("Orologi_Da_Polso_Feb_2004.html","Orologi Da Polso, Feb '04");
medialink[21]=new Array("Verve_Magazine_Jan04.html","Verve Magazine, Jan '04");
medialink[20]=new Array("HK_Watches_and_Clocks_Jan04.html","HK Watches & Clocks, Jan '04");
medialink[19]=new Array("Watch_market_review_nov03.html","Watch Market Review, Nov '03");
medialink[18]=new Array("Europa_Star_Magazine_November_2003.html","Europa Star Magazine, Nov '03");
medialink[17]=new Array("Global_Sources_nov03.html","Global Sources, Nov '03");
medialink[16]=new Array("Uhren_Magazin_Nov_2003.html","Uhren Magazine, Nov '03");
medialink[15]=new Array("Watch_market_review_oct03_pg1.html","Watch Market Review, Oct '03");
medialink[14]=new Array("media_Oct_03_2003.html","media, Oct '03");
medialink[13]=new Array("Time_N_Style_Aug_2003.html","Time N Style, Aug/Oct '03");
medialink[12]=new Array("Instore_Aug_2003.html","Instore Magazine, Aug '03");
medialink[11]=new Array("Singapore_Wheels_Magazine_Aug_2003.html","Singapore Wheels Magazine, Aug '03");
medialink[10]=new Array("Uhren_Magazin_Anual_Aug_2003.html","Uhren Magazine, Jul/Aug '03");
medialink[9]=new Array("Orologi_Da_Polso_May_2003.html","Orologi Da Polso, May '03");
medialink[8]=new Array("Global_Sources_jan03.html","Global Sources, Jan '03");
medialink[7]=new Array("the_Basel_magazine_Jan_2003.html","the Basel magazine, Jan '03");
medialink[6]=new Array("the_Basel_magazine_Dec_2002.html","the Basel magazine, Dec '02");
medialink[5]=new Array("Watch_market_review_pg1.html","Watch Market Review, Oct '02");
medialink[4]=new Array("Brand_Name_Basel_April.html","Brand Name Basel, Sep '02");
medialink[3]=new Array("Brand_Name_Hong_Kong.html","Brand Name HK Jewellery Fair, Sep '02");
medialink[2]=new Array("HK_Watch_Clock_Fair_1.html","HK Watch & Clock Fair Newsletter, Sep '02");
medialink[1]=new Array("Europa_Star_March_2002_Pg1.html","Europa Star, Mar '02");
medialink[0]=new Array("Time_N_Style_Mar_2002.html","Time N Style, Mar '02");
var contenthtml="";
var lefthtml="";
var temp=new Array;
	for(i=medialink.length-1; i>=0; i--) {
		temp=medialink[i];
		if(0) {
			lefthtml+="<div id=\"pressSubject\"><div id=\"pressbar\"><img src=\"images/highlight_bar.gif\" width=7 height=9 border=0></div><div id=\"presslink\"><a href='javascript:openpresswin('"+temp[0]+"')'>"+temp[1]+"</a></div></div>";
		}
		else {
			lefthtml+="<div id=\"pressSubject\"><div id=\"pressbar\"><img src=\"images/highlight_bar.gif\" width=7 height=9 border=0></div><div id=\"presslink\"><a href='javascript:openpresswin(\""+temp[0]+"\")'>"+temp[1]+"</a></div></div>";
		}
	}
	leftshowlayer(lefthtml);
}

function tradeshow(id) {
	if(id == '') {
		id=0;
	}
	var show0 = new Array("Name","Time","Venue","visit","info","","");
	var show1 = new Array("Hong Kong Watch & Clock Fair 2008","September 3 - 7, 2008","HK Convention and Exhibition Center, 1 Expo Drive, Wanchai, Hong Kong","Hall 2.0, Stand J02 (2J02)","www.hkwatchfair.com","","");
	var show2 = new Array("Hong Kong Jewellery & Watch Fair 2008","September 17 - 21, 2008","HK Convention and Exhibition Center, 1 Expo Drive, Wanchai, Hong Kong","Hall 5.0, Stand L37-39 (5L37-39)","www.jewellerynetasia.com","","");		
	var show3 = new Array("Baselworld 2009","March 26 - April 2, 2009","Hall of Feelings, Hall 2.0 Stand G81","Messeplatz, Basel","www.baselworld.com","","");
	var show4 = new Array("19th International Jewellery Tokyo 2008","January 23 - 26, 2008","Tokyo Big Sight, Japan","Hall 3, Stand A 23-50","www.ijt.jp","","");		
	var show5 = new Array("The 64th Tokyo International Gift Show","September 4 - 7, 2007","Tokyo Big Sight (Tokyo International Exhibition Center), 3-21-1 Ariake, Koto-ku, Tokyo 135-0063","No. 6 East Hall, Booth 6195-6196","www.giftshow.co.jp","");
	var show6 = new Array("Jewellery Arabia 2007","November 13 - 17, 2007","Bahrain International Exhibition Centre<br>Manama, Bahrain","Hall 3, Stand 3009","www.aeminfo.com.bh","","");
	var show7 = new Array("Hong Kong Watch & Clock Fair 2007","September 5 - 9, 2007","HK Convention and Exhibition Center, 1 Expo Drive, Wanchai, Hong Kong","Hall 2.0, Stand H02","www.hkwatchfair.com","","");
	var show8 = new Array("Hong Kong Jewellery & Watch Fair 2007","September 25 - 29, 2007","HK Convention and Exhibition Center, 1 Expo Drive, Wanchai, Hong Kong","Hall 5, Stand L37-39","www.jewellerynetasia.com","","");	
	var show9 = new Array("The JCK Show - Las Vegas 2006","June 3 - 7, 2006","Sands Convention & Exhibition Center<br>Las Vegas, Nevada","Hall of Time, Booth No. 30046","www.jckgroup.com","","");	
	var show10 = new Array("JA International Jewelry Show 2005","July 31 - August 3, 2005","Jacob Javits Convention Center<br>New York","Concours d'Elegance, Stand No. 43","www.ja-newyork.com","","");
	var show11 = new Array("13th HK Intl. Jewelery Manufacturers Exhibition","December 1 - 4, 2005","HK Convention and Exhibition Center, 1 Expo Drive, Wanchai, Hong Kong","Hall 1, Stand A33,35","www.jewelry.org.hk","","");
	var show12 = new Array("KOSMIMA 2007","October 19 - 22, 2007","Thessaloniki Exhibition Centre, Greece","Pavilion 13, Stand no. 72","www.helexpo.gr","","");
	var show13 = new Array("Hong Kong International Jewellery Show","March 6 - 9, 2006","HK Convention and Exhibition Center, 1 Expo Drive, Wanchai, Hong Kong","Brand Gallery, Hall 5, Stand E01","www.hkjewellery.com","","");
	var show14 = new Array("1st International Watch Fair Tokyo 2009 ","January 21 - 24, 2009","Tokyo Big Sight, Japan","Stand A 23 - 48","www.twfjapan.jp","","");
	var show15 = new Array("Baselworld 2008","April 3 ¡V 10, 2008","Hall of Feelings, Hall 2.0 Stand G81","Messeplatz, Basel","www.baselworld.com","","");
	var show16 = new Array("Baselworld 2007","April 12 - 19, 2007","Hall of Feelings, Hall 2.0 Stand H80","Messeplatz, Basel","www.baselworld.com","","");
	var show17 = new Array("Hong Kong Jewellery & Watch Fair 2006","September 19 - 23, 2006","HK Convention and Exhibition Center, 1 Expo Drive, Wanchai, Hong Kong","Hall 5, Stand L37-39","www.jewellerynetasia.com","","");
	var show18 = new Array("Hong Kong Watch & Clock Fair 2006","September 6 - 10, 2006","HK Convention and Exhibition Center, 1 Expo Drive, Wanchai, Hong Kong","Atrium, ATA 17","www.hkwatchfair.com","","");
	var show19 = new Array("Baselworld 2006","March 30 - April 6, 2006","Hall of Feelings, Hall 2.0 Stand H80","Messeplatz, Basel","www.baselworld.com","","");
	var show20 = new Array("Hong Kong Jewellery & Watch Fair 2005","September 21 - 25, 2005","HK Convention and Exhibition Center, 1 Expo Drive, Wanchai, Hong Kong","Hall 5, Stand L37-39","www.jewellerynetasia.com","","");
	var show21 = new Array("Hong Kong Watch & Clock Fair 2005","September 6 - 10, 2005","HK Convention and Exhibition Center, 1 Expo Drive, Wanchai, Hong Kong","Atrium, ATA 17","www.hkwatchfair.com","","");
	var show22 = new Array("Istanbul Jewellery Show 2005","March 24 - 28, 2005","CNR Expo Center","","www.rotaforte.com","","");
	var show23 = new Array("Hong Kong International Jewellery Show 2005","March 1 - 4, 2005","HK Convention and Exhibition Center, 1 Expo Drive, Wanchai, Hong Kong","Brand Gallery, Hall 5, Stand E09","www.hkjewellery.com","","");
	var show24 = new Array("Hong Kong Jewellery & Watch Fair 2004","September 19 - 23, 2004","HK Convention and Exhibition Center, 1 Expo Drive, Wanchai, Hong Kong","Hall 5, Stand L37-39","www.jewellerynetasia.com","","");
	var show25 = new Array("Hong Kong Jewellery & Watch Fair 2003","September 17 - 21, 2003","HK Convention and Exhibition Center, 1 Expo Drive, Wanchai, Hong Kong","Hall 5, Stand L37-39","www.jewellerynetasia.com","","");
	var show26 = new Array("Hong Kong Watch & Clock Fair 2004","September 1 - 5, 2004","HK Convention and Exhibition Center, 1 Expo Drive, Wanchai, Hong Kong","Atrium, ATA 16","www.hkwatchfair.com","","");
	var show27 = new Array("Hong Kong International Jewellery Show 2004","March 2 - 5, 2004","HK Convention and Exhibition Center, 1 Expo Drive, Wanchai, Hong Kong","Brand Gallery, Hall 5, Stand D02","www.hkjewellery.com","","");
	var show28 = new Array("Business of Design Week 2003","December 6 - 9, 2003","HK Convention and Exhibition Center, 1 Expo Drive, Wanchai, Hong Kong","Hall 1, Stand D15","www.bodw.com.hk","","");
	var show29 = new Array("India International Watch Exhibition 2003","September 15 - 21, 2003","World Trade Centre, Mumbai","Stand # 17","www.watchmarketreview.com ","","");
	var show30 = new Array("Hong Kong Watch & Clock Fair 2003","September 3 - 7, 2003","HK Convention and Exhibition Center, 1 Expo Drive, Wanchai, Hong Kong","Atrium, ATA 25","www.hkwatchfair.com","","");
	var show31 = new Array("Hong Kong Watch & Clock Fair 2002","September 10 - 14, 2002","HK Convention and Exhibition Center, 1 Expo Drive, Wanchai, Hong Kong","Atrium, ATA 24","www.hkwatchfair.com","","");
	var show32 = new Array("Hong Kong Jewellery & Watch Fair 2009","September 23-27, 2009","HK Convention and Exhibition Center, 1 Expo Drive, Wanchai, Hong Kong","Stand 3C236-240","www.jewellerynetasia.com","","");
	var show33 = new Array("Jewellery Arabia 2009","November 17-21, 2009","Bahrain International Exhibition Center","Stand E02, Main Entrance Hall 1","www.jewelleryarabia.com","","");
	var show34 = new Array("Kuwait International Fair - Specialized Watches Exhibition","December 22, 2009 - <br>January 2, 2010","Mishref Grounds","Hall 8, Stand 18~19","www.kif.net","","");
	var show35 = new Array("Baselworld 2010","March 18 - 25, 2010","Hall of Feelings, Hall 2.1, Stand J89","Messeplatz, Basel","www.baselworld.com","","");
	
	
	
	//var showary = [show3, show1, show2, show4];
	var showary = [show35, show34, show33,show32,show3, show14, show2, show1, show15, show4, show6, show12, show8, show7, show5, show16, show17, show18, show9, show19, show13, show11, show20, show21, show10, show22, show23, show24, show25, show26, show27, show28, show29, show30, show31];
	var temp=new Array;
	//<div id="tradeSubject"><img src="images/highlight_bar.gif" width=7 height=9 border=0><a href="#">1st International Watch Fair Tokyo 2009 </a></div>
	var lefthtml="";
	var contenthtml="";
	for(i=0;i<showary.length;i++) {
		temp=showary[i];
		if(i != id) {
			lefthtml+="<div id=\"tradeSubject\"><div id=\"tradebar\"><img src=\"images/highlight_bar.gif\" width=7 height=9 border=0></div><div id=\"tradelink\"><a href='javascript:tradeshow("+i+")'>"+temp[0]+"</a></div></div>";
			//lefthtml+="<tr><Td valign=top> |&nbsp;&nbsp;</td><td valign=top><A href='javascript:tradeshow("+i+")'>"+temp[0]+"</a></td></tr>";
		}
		else {
			contenthtml="<font id=tsheader>"+temp[0]+"</font><br><br>";
			contenthtml+="<table cellpadding=2 cellspacing=0 border=0>";
			contenthtml+="<Tr><td valign=top nowrap width=75><font id=tsleft>Date:</div></td><td valign=top>"+temp[1]+"</td></tr>";
			contenthtml+="<Tr><td valign=top nowrap><font id=tsleft>Venue:</div></td><td valign=top>"+temp[2]+"</td></tr>";
			contenthtml+="<Tr><td valign=top nowrap><font id=tsleft>Visit us at:</div></td><td valign=top>"+temp[3]+"</td></tr>";
			if(temp[4]) {
				contenthtml+="<Tr><td valign=top nowrap><font id=tsleft>More info:</div></td><td valign=top><a href=\"http://"+temp[4]+"\" target=_blank>"+temp[4]+"</a></td></tr>";
			}
			if(temp[5]) {
				contenthtml+="<Tr><td valign=top nowrap><font id=tsleft>Tel:</div></td><td valign=top>"+temp[5]+"</td></tr>";
			}
			if(temp[6]) {
				contenthtml+="<Tr><td valign=top nowrap><font id=tsleft>Fax:</div></td><td valign=top>"+temp[6]+"</td></tr>";
			}
			lefthtml+="<div id=\"tradeSubject\"><div id=\"tradebar\"><img src=\"images/highlight_bar.gif\" width=7 height=9 border=0></div><div id=\"tradelink\"><span>"+temp[0]+"</span></div></div>";
			//lefthtml+="<tr><td valign=top> |&nbsp;&nbsp;</td><td valign=top><font color=\"#330000\">"+temp[0]+"</font></td></tr>";
		}
	}
	lefthtml+="";
	leftshowlayer(lefthtml);
	contentshowlayer(contenthtml);
	return;
}

function leftshowlayer(msg) {

	if (document.layers) {
		document.layers.leftsource.document.write(msg);
		document.layers.leftsource.document.close();
	}
	else if (document.all)
		leftsource.innerHTML=msg;
	else if (document.getElementById)
		document.getElementById("leftsource").innerHTML=msg;

}


function contentshowlayer(msg) {

	if (document.layers){
		document.layers.contentsource.document.write(msg);
		document.layers.contentsource.document.close();
	}
	else if (document.all)
		contentsource.innerHTML=msg;
	else if (document.getElementById)
		document.getElementById("contentsource").innerHTML=msg;
}

function wrtieCountryOptions(){
	var msg = "<option value=\"\">Select a Country</option>" + countryhtml;
	document.getElementById("countrySelect").innerHTML=msg;
}

function setQuantity(qname,v)
{
	var dml = document.viewcartform;
	var len = dml.elements.length;
	var i=0;

	for( i=0 ; i<len ; i++)
	{
		if (dml.elements[i].name == qname)
		{
			dml.elements[i].value = v;
			break;
		}
	}
}

var countryhtml="";
countryhtml += "<option value=\"USA\" >United States</option>";
countryhtml += "<option value=\"Canada\" >Canada</option>";
countryhtml += "<option value=\"Afghanistan\" >Afghanistan</option>";
countryhtml += "<option value=\"Albania\" >Albania</option>";
countryhtml += "<option value=\"Algeria\" >Algeria</option>";
countryhtml += "<option value=\"American Samoa\" >American Samoa</option>";
countryhtml += "<option value=\"Andorra\" >Andorra</option>";
countryhtml += "<option value=\"Angola\" >Angola</option>";
countryhtml += "<option value=\"Anguilla\" >Anguilla</option>";
countryhtml += "<option value=\"Antarctica\" >Antarctica</option>";
countryhtml += "<option value=\"Antigua and Barbuda\" >Antigua & Barbuda</option>";
countryhtml += "<option value=\"Argentina\" >Argentina</option>";
countryhtml += "<option value=\"Armenia\" >Armenia</option>";
countryhtml += "<option value=\"Aruba\" >Aruba</option>";
countryhtml += "<option value=\"Australia\" >Australia</option>";
countryhtml += "<option value=\"Austria\" >Austria</option>";
countryhtml += "<option value=\"Azerbaijan\" >Azerbaijan</option>";
countryhtml += "<option value=\"Bahamas\" >Bahamas</option>";
countryhtml += "<option value=\"Bahrain\" >Bahrain</option>";
countryhtml += "<option value=\"Bangladesh\" >Bangladesh</option>";
countryhtml += "<option value=\"Barbados\" >Barbados</option>";
countryhtml += "<option value=\"Belarus\" >Belarus</option>";
countryhtml += "<option value=\"Belgium\" >Belgium</option>";
countryhtml += "<option value=\"Belize\" >Belize</option>";
countryhtml += "<option value=\"Benin\" >Benin</option>";
countryhtml += "<option value=\"Bermuda\" >Bermuda</option>";
countryhtml += "<option value=\"Bhutan\" >Bhutan</option>";
countryhtml += "<option value=\"Bolivia\" >Bolivia</option>";
countryhtml += "<option value=\"Bosnia and Herzegovina\" >Bosnia & Herzegovina</option>";
countryhtml += "<option value=\"Botswana\" >Botswana</option>";
countryhtml += "<option value=\"Bouvet Island\" >Bouvet Island</option>";
countryhtml += "<option value=\"Brazil\" >Brazil</option>";
countryhtml += "<option value=\"British Indian Ocean Territory\" >British Indian Ocean Territory</option>";
countryhtml += "<option value=\"Brunei Darussalam\" >Brunei Darussalam</option>";
countryhtml += "<option value=\"Bulgaria\" >Bulgaria</option>";
countryhtml += "<option value=\"Burkina Faso\" >Burkina Faso</option>";
countryhtml += "<option value=\"Burundi\" >Burundi</option>";
countryhtml += "<option value=\"Cambodia\" >Cambodia</option>";
countryhtml += "<option value=\"Cameroon\" >Cameroon</option>";
countryhtml += "<option value=\"Cape Verde\" >Cape Verde</option>";
countryhtml += "<option value=\"Cayman Islands\" >Cayman Islands</option>";
countryhtml += "<option value=\"Central African Republic\" >Central African Republic</option>";
countryhtml += "<option value=\"Chad\" >Chad</option>";
countryhtml += "<option value=\"Chile\" >Chile</option>";
countryhtml += "<option value=\"China\" >China</option>";
countryhtml += "<option value=\"Christmas Island\" >Christmas Island</option>";
countryhtml += "<option value=\"Cocos (Keeling) Islands\" >Cocos (Keeling) Islands</option>";
countryhtml += "<option value=\"Colombia\" >Colombia</option>";
countryhtml += "<option value=\"Comoros\" >Comoros</option>";
countryhtml += "<option value=\"Congo\" >Congo</option>";
countryhtml += "<option value=\"Congo, the Democratic Republic of the\" >Congo, Democratic Republic</option>";
countryhtml += "<option value=\"Cook Islands\" >Cook Islands</option>";
countryhtml += "<option value=\"Costa Rica\" >Costa Rica</option>";
countryhtml += "<option value=\"Cote D'ivoire\" >Cote D'ivoire</option>";
countryhtml += "<option value=\"Croatia (Hrvatska)\" >Croatia</option>";
countryhtml += "<option value=\"Cuba\" >Cuba</option>";
countryhtml += "<option value=\"Cyprus\" >Cyprus</option>";
countryhtml += "<option value=\"Czech Republic\" >Czech Republic</option>";
countryhtml += "<option value=\"Denmark\" >Denmark</option>";
countryhtml += "<option value=\"Djibouti\" >Djibouti</option>";
countryhtml += "<option value=\"Dominica\" >Dominica</option>";
countryhtml += "<option value=\"Dominican Republic\" >Dominican Republic</option>";
countryhtml += "<option value=\"Ecuador\" >Ecuador</option>";
countryhtml += "<option value=\"Egypt\" >Egypt</option>";
countryhtml += "<option value=\"El Salvador\" >El Salvador</option>";
countryhtml += "<option value=\"Equatorial Guinea\" >Equatorial Guinea</option>";
countryhtml += "<option value=\"Eritrea\" >Eritrea</option>";
countryhtml += "<option value=\"Estonia\" >Estonia</option>";
countryhtml += "<option value=\"Ethiopia\" >Ethiopia</option>";
countryhtml += "<option value=\"Falkland Islands (Malvinas)\" >Falkland Islands</option>";
countryhtml += "<option value=\"Faroe Islands\" >Faroe Islands</option>";
countryhtml += "<option value=\"Fiji\" >Fiji</option>";
countryhtml += "<option value=\"Finland\" >Finland</option>";
countryhtml += "<option value=\"France\" >France</option>";
countryhtml += "<option value=\"France, Metropolitan\" >France, Metropolitan</option>";
countryhtml += "<option value=\"French Guiana\" >French Guiana</option>";
countryhtml += "<option value=\"French Polynesia\" >French Polynesia</option>";
countryhtml += "<option value=\"French Southern Territories\" >French Southern Territories</option>";
countryhtml += "<option value=\"Gabon\" >Gabon</option>";
countryhtml += "<option value=\"Gambia\" >Gambia</option>";
countryhtml += "<option value=\"Georgia\" >Georgia</option>";
countryhtml += "<option value=\"Germany\" >Germany</option>";
countryhtml += "<option value=\"Ghana\" >Ghana</option>";
countryhtml += "<option value=\"Gibraltar\" >Gibraltar</option>";
countryhtml += "<option value=\"Greece\" >Greece</option>";
countryhtml += "<option value=\"Greenland\" >Greenland</option>";
countryhtml += "<option value=\"Grenada\" >Grenada</option>";
countryhtml += "<option value=\"Guadeloupe\" >Guadeloupe</option>";
countryhtml += "<option value=\"Guam\" >Guam</option>";
countryhtml += "<option value=\"Guatemala\" >Guatemala</option>";
countryhtml += "<option value=\"Guinea\" >Guinea</option>";
countryhtml += "<option value=\"Guinea-Bissau\" >Guinea-Bissau</option>";
countryhtml += "<option value=\"Guyana\" >Guyana</option>";
countryhtml += "<option value=\"Haiti\" >Haiti</option>";
countryhtml += "<option value=\"Heard Island and Mcdonald Islands\" >Heard & Mcdonald Islands</option>";
countryhtml += "<option value=\"Honduras\" >Honduras</option>";
countryhtml += "<option value=\"Hong Kong\" >Hong Kong</option>";
countryhtml += "<option value=\"Hungary\" >Hungary</option>";
countryhtml += "<option value=\"Iceland\" >Iceland</option>";
countryhtml += "<option value=\"India\" >India</option>";
countryhtml += "<option value=\"Indonesia\" >Indonesia</option>";
countryhtml += "<option value=\"Iran, Islamic Republic of\" >Iran</option>";
countryhtml += "<option value=\"Iraq\" >Iraq</option>";
countryhtml += "<option value=\"Ireland\" >Ireland</option>";
countryhtml += "<option value=\"Israel\" >Israel</option>";
countryhtml += "<option value=\"Italy\" >Italy</option>";
countryhtml += "<option value=\"Jamaica\" >Jamaica</option>";
countryhtml += "<option value=\"Japan\" >Japan</option>";
countryhtml += "<option value=\"Jordan\" >Jordan</option>";
countryhtml += "<option value=\"Kazakhstan\" >Kazakhstan</option>";
countryhtml += "<option value=\"Kenya\" >Kenya</option>";
countryhtml += "<option value=\"Kiribati\" >Kiribati</option>";
countryhtml += "<option value=\"Korea, Democratic People's Republic of\" >South Korea</option>";
countryhtml += "<option value=\"Korea, Republic of\" >North Korea</option>";
countryhtml += "<option value=\"Kuwait\" >Kuwait</option>";
countryhtml += "<option value=\"Kyrgyzstan\" >Kyrgyzstan</option>";
countryhtml += "<option value=\"Lao People's Democratic Republic\" >Laos</option>";
countryhtml += "<option value=\"Latvia\" >Latvia</option>";
countryhtml += "<option value=\"Lebanon\" >Lebanon</option>";
countryhtml += "<option value=\"Lesotho\" >Lesotho</option>";
countryhtml += "<option value=\"Liberia\" >Liberia</option>";
countryhtml += "<option value=\"Libyan Arab Jamahiriya\" >Libyan Arab Jamahiriya</option>";
countryhtml += "<option value=\"Liechtenstein\" >Liechtenstein</option>";
countryhtml += "<option value=\"Lithuania\" >Lithuania</option>";
countryhtml += "<option value=\"Luxembourg\" >Luxembourg</option>";
countryhtml += "<option value=\"Macao\" >Macao</option>";
countryhtml += "<option value=\"Macedonia, the Former Yugoslav Republic of\" >Macedonia</option>";
countryhtml += "<option value=\"Madagascar\" >Madagascar</option>";
countryhtml += "<option value=\"Malawi\" >Malawi</option>";
countryhtml += "<option value=\"Malaysia\" >Malaysia</option>";
countryhtml += "<option value=\"Maldives\" >Maldives</option>";
countryhtml += "<option value=\"Mali\" >Mali</option>";
countryhtml += "<option value=\"Malta\" >Malta</option>";
countryhtml += "<option value=\"Marshall Islands\" >Marshall Islands</option>";
countryhtml += "<option value=\"Martinique\" >Martinique</option>";
countryhtml += "<option value=\"Mauritania\" >Mauritania</option>";
countryhtml += "<option value=\"Mauritius\" >Mauritius</option>";
countryhtml += "<option value=\"Mayotte\" >Mayotte</option>";
countryhtml += "<option value=\"Mexico\" >Mexico</option>";
countryhtml += "<option value=\"Micronesia, Federated States of\" >Micronesia</option>";
countryhtml += "<option value=\"Moldova, Republic of\" >Moldova</option>";
countryhtml += "<option value=\"Monaco\" >Monaco</option>";
countryhtml += "<option value=\"Mongolia\" >Mongolia</option>";
countryhtml += "<option value=\"Montserrat\" >Montserrat</option>";
countryhtml += "<option value=\"Morocco\" >Morocco</option>";
countryhtml += "<option value=\"Mozambique\" >Mozambique</option>";
countryhtml += "<option value=\"Myanmar\" >Myanmar</option>";
countryhtml += "<option value=\"Namibia\" >Namibia</option>";
countryhtml += "<option value=\"Nauru\" >Nauru</option>";
countryhtml += "<option value=\"Nepal\" >Nepal</option>";
countryhtml += "<option value=\"Netherlands\" >Netherlands</option>";
countryhtml += "<option value=\"Netherlands Antilles\" >Netherlands Antilles</option>";
countryhtml += "<option value=\"New Caledonia\" >New Caledonia</option>";
countryhtml += "<option value=\"New Zealand\" >New Zealand</option>";
countryhtml += "<option value=\"Nicaragua\" >Nicaragua</option>";
countryhtml += "<option value=\"Niger\" >Niger</option>";
countryhtml += "<option value=\"Nigeria\" >Nigeria</option>";
countryhtml += "<option value=\"Niue\" >Niue</option>";
countryhtml += "<option value=\"Norfolk Island\" >Norfolk Island</option>";
countryhtml += "<option value=\"Northern Mariana Islands\" >N. Mariana Islands</option>";
countryhtml += "<option value=\"Norway\" >Norway</option>";
countryhtml += "<option value=\"Oman\" >Oman</option>";
countryhtml += "<option value=\"Pakistan\" >Pakistan</option>";
countryhtml += "<option value=\"Palau\" >Palau</option>";
countryhtml += "<option value=\"Palestinian Territory, Occupied\" >Palestinian Territory</option>";
countryhtml += "<option value=\"Panama\" >Panama</option>";
countryhtml += "<option value=\"Papua New Guinea\" >Papua New Guinea</option>";
countryhtml += "<option value=\"Paraguay\" >Paraguay</option>";
countryhtml += "<option value=\"Peru\" >Peru</option>";
countryhtml += "<option value=\"Philippines\" >Philippines</option>";
countryhtml += "<option value=\"Pitcairn\" >Pitcairn</option>";
countryhtml += "<option value=\"Poland\" >Poland</option>";
countryhtml += "<option value=\"Portugal\" >Portugal</option>";
countryhtml += "<option value=\"Puerto Rico\" >Puerto Rico</option>";
countryhtml += "<option value=\"Qatar\" >Qatar</option>";
countryhtml += "<option value=\"Reunion\" >Reunion</option>";
countryhtml += "<option value=\"Romania\" >Romania</option>";
countryhtml += "<option value=\"Russian Federation\" >Russian Federation</option>";
countryhtml += "<option value=\"Rwanda\" >Rwanda</option>";
countryhtml += "<option value=\"Saint Helena\" >Saint Helena</option>";
countryhtml += "<option value=\"Saint Kitts and Nevis\" >St. Kitts & Nevis</option>";
countryhtml += "<option value=\"Saint Lucia\" >Saint Lucia</option>";
countryhtml += "<option value=\"Saint Pierre and Miquelon\" >St. Pierre & Miquelon</option>";
countryhtml += "<option value=\"Saint Vincent and the Grenadines\" >St. Vincent & Grenadines</option>";
countryhtml += "<option value=\"Samoa\" >Samoa</option>";
countryhtml += "<option value=\"San Marino\" >San Marino</option>";
countryhtml += "<option value=\"Sao Tome and Principe\" >Saotome a Principe</option>";
countryhtml += "<option value=\"Saudi Arabia\" >Saudi Arabia</option>";
countryhtml += "<option value=\"Senegal\" >Senegal</option>";
countryhtml += "<option value=\"Seychelles\" >Seychelles</option>";
countryhtml += "<option value=\"Sierra Leone\" >Sierra Leone</option>";
countryhtml += "<option value=\"Singapore\" >Singapore</option>";
countryhtml += "<option value=\"Slovakia\" >Slovakia</option>";
countryhtml += "<option value=\"Slovenia\" >Slovenia</option>";
countryhtml += "<option value=\"Solomon Islands\" >Solomon Islands</option>";
countryhtml += "<option value=\"Somalia\" >Somalia</option>";
countryhtml += "<option value=\"South Africa\" >South Africa</option>";
countryhtml += "<option value=\"South Georgia and the South Sandwich Islands\" >S. Georgia & S. Sandwich Islands</option>";
countryhtml += "<option value=\"Spain\" >Spain</option>";
countryhtml += "<option value=\"Sri Lanka\" >Sri Lanka</option>";
countryhtml += "<option value=\"Sudan\" >Sudan</option>";
countryhtml += "<option value=\"Suriname\" >Suriname</option>";
countryhtml += "<option value=\"Svalbard and Jan Mayen Islands\" >Svalbard & Jan Mayen Islands</option>";
countryhtml += "<option value=\"Swaziland\" >Swaziland</option>";
countryhtml += "<option value=\"Sweden\" >Sweden</option>";
countryhtml += "<option value=\"Switzerland\" >Switzerland</option>";
countryhtml += "<option value=\"Syrian Arab Republic\" >Syria</option>";
countryhtml += "<option value=\"Taiwan\" >Taiwan</option>";
countryhtml += "<option value=\"Tajikistan\" >Tajikistan</option>";
countryhtml += "<option value=\"Tanzania, United Republic of\" >Tanzania</option>";
countryhtml += "<option value=\"Thailand\" >Thailand</option>";
countryhtml += "<option value=\"Timor-Leste\" >Timor-Leste</option>";
countryhtml += "<option value=\"Togo\" >Togo</option>";
countryhtml += "<option value=\"Tokelau\" >Tokelau</option>";
countryhtml += "<option value=\"Tonga\" >Tonga</option>";
countryhtml += "<option value=\"Trinidad and Tobago\" >Trinidad & Tobago</option>";
countryhtml += "<option value=\"Tunisia\" >Tunisia</option>";
countryhtml += "<option value=\"Turkey\" >Turkey</option>";
countryhtml += "<option value=\"Turkmenistan\" >Turkmenistan</option>";
countryhtml += "<option value=\"Turks and Caicos Islands\" >Turks & Caicos Islands</option>";
countryhtml += "<option value=\"Tuvalu\" >Tuvalu</option>";
countryhtml += "<option value=\"Uganda\" >Uganda</option>";
countryhtml += "<option value=\"Ukraine\" >Ukraine</option>";
countryhtml += "<option value=\"United Arab Emirates\" >United Arab Emirates</option>";
countryhtml += "<option value=\"United Kingdom\" >United Kingdom</option>";
countryhtml += "<option value=\"United States Minor Outlying Islands\" >US Outlying Islands</option>";
countryhtml += "<option value=\"Uruguay\" >Uruguay</option>";
countryhtml += "<option value=\"Uzbekistan\" >Uzbekistan</option>";
countryhtml += "<option value=\"Vanuatu\" >Vanuatu</option>";
countryhtml += "<option value=\"Vatican City State (Holy See)\" >Vatican City State</option>";
countryhtml += "<option value=\"Venezuela\" >Venezuela</option>";
countryhtml += "<option value=\"Viet Nam\" >Vietnam</option>";
countryhtml += "<option value=\"Virgin Islands, British\" >British Virgin Islands</option>";
countryhtml += "<option value=\"Virgin Islands, U.S.\" >US Virgin Islands</option>";
countryhtml += "<option value=\"Wallis and Futuna Islands\" >Wallis & Futuna Islands</option>";
countryhtml += "<option value=\"Western Sahara\" >Western Sahara</option>";
countryhtml += "<option value=\"Yemen\" >Yemen</option>";
countryhtml += "<option value=\"Yugoslavia\" >Yugoslavia</option>";
countryhtml += "<option value=\"Zambia\" >Zambia</option>";
countryhtml += "<option value=\"Zimbabwe\" >Zimbabwe</option>";

