try{path=path;}catch(e){path=""};
function moveSub(sub) { 
  switch(sub) {
    case "A00" :	url=path+"index.htm";break;
    case "B00" :	url=path+"test/index.htm";break;
    case "C00" :	url=path+"Contact_us.htm";break;
    case "D00" :	url=path+"privacy_policy.htm";break;
    case "E00" :	url=path+"links.asp.htm";break;
    case "F00" :	url=path+"linkus.asp.htm";break;
    

//    case "F00" :    url="";window.open('/aaa.html');break;
	}
  if(url !="") { 
    this.location.href=url;
	}
}
function LoadsCss(){
  s="<link rel=stylesheet type=text/css href="+path+"styles.css>";
  return s;
}
document.write(LoadsCss());

/*---------------------------------*/
function bot(){
 	banner.innerHTML=glowingdata(path+"images/banner.swf",800,200,path+"images/banner.jpg","#000000");	
}
function glowingdata(nofswf,wofswf,hofswf,nofxml,bgcm)
{	var wstr="";	wstr='<OBJECT classid=clsid:d27cdb6e-ae6d-11cf-96b8-444553540000 codebase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0 WIDTH="'+wofswf+'" HEIGHT="'+hofswf+'" id="'+nofxml+'" ALIGN=""> <PARAM NAME=movie VALUE="'+nofswf+'"> <PARAM NAME=FlashVars VALUE="xml_name='+nofxml+'.xml"> <PARAM NAME=menu VALUE=false> <PARAM NAME=quality VALUE=high> <PARAM NAME=scale VALUE=noscale> <PARAM NAME=salign VALUE=LT> <PARAM NAME=Wmode value="transparent"> <EMBED src="'+nofswf+'" FlashVars="banner='+nofxml+'.xml" menu=false quality=high scale=noscale salign=LT WIDTH="'+wofswf+'" HEIGHT="'+hofswf+'" NAME="'+nofxml+'" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" wmode=transparent></EMBED></OBJECT>';	return(wstr);}

/*---------google_ad1-------------*/
function google_ad1(){
  s="<sc"+"ript type=text/javascript src=http://pagead2.googlesyndication.com/pagead/show_ads.js></sc"+"ript>";	
  return s;  
}
/*------------NewsLetter---------------------*/
function subscribe(o) {
  error = '';
  if(!o.form.txtemail.value.match(/\b(^(\S+@).+((\.\S{2,3}))$)\b/gi)) { error = error+'Valid Email is required\n'; }
  if (error) { alert(error); }
  else {
  	o.form.action=path+o.form.action;
  	location.href=o.form.action;
  }
}
function subform() {
  error = '';
  if(!document.getElementById("txtemail").value.match(/\b(^(\S+@).+((\.\S{2,3}))$)\b/gi)) { error = error+'Valid Email is required\n'; }
  if (document.getElementById("txtname").value.length<5) error=error+"Please type your fullname\n";
  if (document.getElementById("txtcountry").value.length<1) error=error+"Please type your country\n";
  if (document.getElementById("txtcomments").value.length<10) error=error+"Please type your commnets\n";
  if (error) { alert(error); }
  else { 
    //document.forms["frmcontact"].submit();
  }
}      
/*---------------------------------*/