function changeImages(){if(document.images){for(var i=0;i<changeImages.arguments.length;i+=2){document[changeImages.arguments[i]].src=eval(changeImages.arguments[i+1]+".src")}}}function MM_swapImgRestore(){var i,x,a=document.MM_sr;for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++)x.src=x.oSrc}function MM_preloadImages(){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]}}}function MM_findObj(n,d){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_swapImage(){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]}}var alertText='';var alertneeded=0;function validate_prodsearch2_whl(){alertText='';alertneeded=0;alertText+='The following required information is missing\n\n';if(document.searchform2.keyword.value==""){alertneeded=1;alertText+='- please provide a keyword\n'}if(alertneeded!=0){alert(alertText);return false}struserkeyword=document.searchform2.keyword.value;document.searchform2.action='searchkeyword.cfm?powersearch='+struserkeyword+'&Action=Search&mdsearchtype=whl'}function validate_prodsearch2_rtl(){alertText='';alertneeded=0;alertText+='The following required information is missing\n\n';if(document.searchform2.keyword.value==""){alertneeded=1;alertText+='- please provide a keyword\n'}if(alertneeded!=0){alert(alertText);return false}struserkeyword=document.searchform2.keyword.value;document.searchform2.action='searchkeyword.cfm?powersearch='+struserkeyword+'&Action=Search&mdsearchtype=rtl'}function submitenter2_whl(myfield,e){var keycode;var alertText='';var alertneeded=0;if(window.event)keycode=window.event.keyCode;else if(e)keycode=e.which;else return true;if(keycode==13){alertText='';alertneeded=0;alertText+='The following required information is missing\n\n';if(document.searchform2.keyword.value==""){alertneeded=1;alertText+='- please provide a keyword\n'}if(alertneeded!=0){alert(alertText);return false}struserkeyword=document.searchform2.keyword.value;document.searchform2.action='searchkeyword.cfm?powersearch='+struserkeyword+'&Action=Search&mdsearchtype=whl'}else return true}function submitenter2_rtl(myfield,e){var keycode;var alertText='';var alertneeded=0;if(window.event)keycode=window.event.keyCode;else if(e)keycode=e.which;else return true;if(keycode==13){alertText='';alertneeded=0;alertText+='The following required information is missing\n\n';if(document.searchform2.keyword.value==""){alertneeded=1;alertText+='- please provide a keyword\n'}if(alertneeded!=0){alert(alertText);return false}struserkeyword=document.searchform2.keyword.value;document.searchform2.action='searchkeyword.cfm?powersearch='+struserkeyword+'&Action=Search&mdsearchtype=rtl'}else return true}var alertText='';var alertneeded=0;
function validate_prodsearch(){alertText='';

alertneeded=0;alertText+='The following required information is missing\n\n';
if(document.searchform.location.value==""){alertneeded=1;alertText+='- please provide a location\n'}
if(document.searchform.location.value==" ( San Francisco, CA or 94103 )"){alertneeded=1;alertText+='- please provide a location\n'}
if(document.searchform.keyword.value == ' ( t-shirts, hats, signs )'){document.searchform.keyword.value='';}
//if(document.searchform.keyword.value==" ( t-shirts, hats, signs )"){alertneeded=1;alertText+='- please provide the type of screen printing\n'}
//if(document.searchform.keyword.value==""){alertneeded=1;alertText+='- please provide the type of screen printing\n'}
if(alertneeded!=0){alert(alertText);return false}}
var objWindow;function CloseWindow(){if(objWindow!=null&&!objWindow.closed){objWindow.close()}}

function show_popup(tipfor)
{

var browserName=navigator.appName; 
if (browserName=="Netscape")
{ 
	if( tipfor== 'sign'){
 	document.getElementById( "tipSign" ).title = "Local sign companies offer complete signage solutions to local buyers. Simply enter your zip code, your type of sign and 'search'.";
	}
	if( tipfor== 'nat'){
 	document.getElementById( "tipNat" ).title = "National sign companies offer various types of signs and sign accessories to buyers.";	
	}
	if( tipfor== 'map'){
 	document.getElementById( "tipMap" ).title = "Major account providers offer sign channel, turnkey national brand identity signage to larger buyers at the national level.";	
	}
	if( tipfor== 'tra'){
 	document.getElementById( "tipTra" ).title = "Trade suppliers offer sign and graphics supplies and solutions only to wholesale trade buyers (sign and graphics professionals). They do not sell directly to the retail trade.";	
	}
 }
 else{ 
 
 	
	var p=window.createPopup()
	var pbody=p.document.body
	pbody.style.backgroundColor="lightyellow"
	pbody.style.border="solid black 1px"
	if( tipfor== 'sign'){
	pbody.innerHTML=oToolTipSign.innerHTML;
	p.show(450,135,400,45,document.body);
	}
	if( tipfor== 'nat'){
	pbody.innerHTML=oToolTipNat.innerHTML;
	p.show(690,135,400,45,document.body)
	}
	if( tipfor== 'map'){
	pbody.innerHTML=oToolTipMap.innerHTML;
	p.show(785,135,400,45,document.body)
	}
	if( tipfor== 'tra'){
	pbody.innerHTML=oToolTipTra.innerHTML;
	p.show(785,135,400,60,document.body)
	}
	if( tipfor== 'out'){
	pbody.innerHTML=oToolTipTra.innerHTML;
	p.show(0,0,0,0,document.body)
	}
}

}


