//---------------------------------------------------------------------------------------------------------------------------
//VAR_ALL.JS
//---------------------------------------------------------------------------------------------------------------------------

//---------------------------------------------------------------------------------------------------------------------------
//Achmad Firwany's JavaScript Library for External Link (called from any HTML page)
//Copyright(C) 2000 - Achmad Firwany. All intellectual property rights world wide reserved.
//
//-------------------------------------------------------------------------------------------------------------------------

//PULLDOWN MENU SELECT
//Copyright(C) 2000-2008 - Achmad Firwany.
//<script language="JavaScript" type="text/JavaScript">
//<!--
function select_option(callpage,target)
{	
var usr, src, selint, seltxt, selstr;
//
usr=' We are sorry for the incovenience. \n This web-site is under revision. \n\n TESQscape';
//source of call: document.form.select
src=callpage;
//selected index
selint=src.selectedIndex;
//text of selected index
seltxt=src.options[selint].text
//value of selected index
selURL=src.options[selint].value;
selstr='';
//
//alert(selint);
//alert(seltxt);
//alert(selURL);
//
if (seltxt=='cyberscape.firwany.net'){selstr='this web site homepage';}
else if (seltxt!='cyberscape.firwany.net'){selstr='';}
else if (selURL==''){selstr='';}
else {selstr='';}
//
if (target==1)
{
if (selURL=='' && seltxt==''){selURL='http://cyberscape.firwany.net';}
else if (selURL=='' && seltxt!=''){selURL='http://' + seltxt + '.firwany.net/';}
str=' This is a hot-link. \n The URL or address of this web site may has changed!!! \n The web site may or may not be available at this time! \n Please close the new window if it is blank. \n\n';
str=str+usr;
alert(str);
newpage=window.open(selURL);
}
else
//if (target==0)
{
if (selstr=='')
{
str=' This is a cool-link. \n The web page may not available at this time \n due to web-site reconstruction or maintenance. \n Please close the new window if it is blank \n or click back to return when the page is blank. \n\n';
str=str+usr;
alert(str);
newpage=window.open(selURL);
//exit;
}
else (str=selstr);
{
alert(str);
newpage=location.href=selURL;
}
}
}
//-->
//</script>
//-------------------------------------------------------------------------------------------------------------------------

//LINK TO TESQscape
//USAGE: <a href="javascript:void(0)" onClick="TESQ()">TESQscape</a>
function TESQ()
{
w=window.open('http://www.TESQsacpe.com/','TESQscape','scrollbars=1,toolbar=1,location=1,resizable=1');
return (null);
}
//---------------------------------------------------------------------------------------------------------------------------

//LINK TO ILLUSIVE DESIGN
//USAGE: <a href="javascript:void(0)" onClick="template_empire()">Template Empire</a>
function idesign()
{
w=window.open('http://illusivedesign.cjb.net/','Illusive_Design','scrollbars=1,toolbar=1,location=1,resizable=1');
return (null);
}
//-------------------------------------------------------------------------------------------------------------------------

//LINK TO TEMPLATE EMPIRE
//USAGE: <a href="javascript:void(0)" onClick="template_empire()">Template Empire</a>
function template_empire()
{
w=window.open('http://templateempire.cjb.com/','Template_Empire','scrollbars=1,toolbar=1,location=1,resizable=1');
return (null);
}
//-------------------------------------------------------------------------------------------------------------------------

//LINK TO FREE TEMPLATE
//USAGE: <a href="javascript:void(0)" onClick="template_empire()">Template Empire</a>
function free_template()
{
w=window.open('http://www.freetemplates.biz/','Free_Template','scrollbars=1,toolbar=1,location=1,resizable=1');
return (null);
}
//-------------------------------------------------------------------------------------------------------------------------

//LINK TO WEB DESIGN HELPER
//USAGE: <a href="javascript:void(0)" onClick="template_empire()">Template Empire</a>
function wdh()
{
w=window.open('http://www.webdesignhelper.co.uk/','Web_Design_Helper','scrollbars=1,toolbar=1,location=1,resizable=1');
return (null);
}
//-------------------------------------------------------------------------------------------------------------------------
