function BuildHdr(advertiser){
if(advertiser=='grstudios'){
   document.write('<a href="http://www.grstudios.com/grstudios.htm">'+
      '<img src="'+rootpath+'images/logo175x100.gif" width="175" height="100" '+
      'border="0" align="left" hspace="0" vspace="0" alt="Welcome to GR Studios"></a>'+
      '<img src="'+rootpath+'images/imgStoreLogo.gif" border="0" height="78" '+
      'width="305" align="right" vspace="0" hspace="0" alt="the Studio Store">')
}else{
document.write('<img src="'+rootpath+'images/logo175x100.gif" border="0">')
}
}

function BuildInfo(){
document.write('<span class="clsInfo">')
document.write('<a href="javascript:Pop(\''+rootpath+'information/infabout1\',475,375,0)" class="clsInfo">Company</a> | ')
document.write('<a href="javascript:Pop(\''+rootpath+'portfolio/portfolio0\',475,375,1)" class="clsInfo">Portfolio</a> | ')
document.write('<a href="javascript:Pop(\''+rootpath+'portfolio/portfolio100\',475,375,1)" class="clsInfo">Affiliates</a> | ')
document.write('<a href="javascript:Pop(\''+rootpath+'information/infnews\',475,375,1)" class="clsInfo"">Studio News</a> | ')
document.write('<a href="javascript:Pop(\''+rootpath+'information/infcontact\',475,575,0)" class="clsInfo">Contact Us</a>&nbsp;&nbsp;</span>')
}

function BuildStore(){
if(document.layers){document.write('')}
else{
document.write('<select name="frmSelection" class="clsOption" onchange="javascript:window.location.href=value">')
document.write('<option value="'+rootpath+'#" SELECTED>&nbsp;the Studio Store')
document.write('<option value="'+rootpath+'#">Desktop Products')
document.write('<option value="'+rootpath+'softwarei.htm#TrigCalc">&nbsp;&nbsp;&nbsp;&nbsp;Trig Calculator')
document.write('<option>------------------------------------')
document.write('<option value="'+rootpath+'#"><strong>Web Tools</strong>')
document.write('<option value="'+rootpath+'webappsi.htm#PipeSpace">')
document.write('&nbsp;&nbsp;&nbsp;&nbsp;Pipe Spacing Chart')
document.write('<option value="'+rootpath+'webappsi.htm#TempConv">')
document.write('&nbsp;&nbsp;&nbsp;&nbsp;Temperature Converter')
document.write('<option value="'+rootpath+'webappsi.htm#LoanCalc">')
document.write('&nbsp;&nbsp;&nbsp;&nbsp;Loan Calculator')
document.write('<option value="'+rootpath+'webappsi.htm#ToDoList">')
document.write('&nbsp;&nbsp;&nbsp;&nbsp;To Do List')


document.write('<option>------------------------------------')
document.write('<option value="'+rootpath+'#">Web Templates')
document.write('<option value="'+rootpath+'webtempsi.htm">')
document.write('&nbsp;&nbsp;&nbsp;&nbsp;Free Web Templates')
document.write('</select>')
document.write('<img src="'+rootpath+'images/blank.gif" border="0" height="1" width="20">')
}
}

function BuildNav(strPageTitle){
document.write('<img src="'+rootpath+'images/blank.gif" border="0" height="1" width="185">')
if(strPageTitle=="Products"){
document.write('<a href="'+rootpath+'GRStudios.htm" class="clsPMenu">'+
   '<strong>Home</strong></a>&nbsp;&nbsp;<span style="background:#400080;color:white;">'+
   '&nbsp;&nbsp;<strong>Products</strong>&nbsp;&nbsp;</span>&nbsp;&nbsp;<a href="'+rootpath+'bussoli.htm" class="clsPMenu">'+
   '<strong>Services</strong></a>&nbsp;&nbsp;<br>')
document.write('<img src="'+rootpath+'images/blank.gif" border="0" height="1" width="185">')
document.write('<a href="'+rootpath+'SoftwareI.htm" class="clsPMenu">Desktop Products</a>&nbsp;&nbsp;&nbsp;&nbsp;')
document.write('<a href="'+rootpath+'WebAppsI.htm" class="clsPMenu">Web Tools</a>&nbsp;&nbsp;&nbsp;&nbsp;')
document.write('<a href="'+rootpath+'WebTempsI.htm" class="clsPMenu">Web Templates</a>')
}
if(strPageTitle=="Services"){
document.write('<a href="'+rootpath+'GRStudios.htm" class="clsMenu">'+
   '<strong>Home</strong></a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="'+rootpath+'softwarei.htm"class=" clsMenu">'+
   '<strong>Products</strong></a>&nbsp;&nbsp;<span style="background:#0080FF;color:white;">&nbsp;&nbsp;'+
   '<strong>Services</strong></a>&nbsp;&nbsp;</span><br>')
document.write('<img src="'+rootpath+'images/blank.gif" border="0" height="1" width="185">')
document.write('<a href="'+rootpath+'BusSolI.htm" class="clsMenu">Custom Programming</a>&nbsp;&nbsp;&nbsp;&nbsp;')
document.write('<a href="'+rootpath+'EngSolI.htm" class="clsMenu">Cad and Engineering Solutions</a>&nbsp;&nbsp;&nbsp;&nbsp;')
document.write('<a href="'+rootpath+'InetSolI.htm" class="clsMenu">Internet and Web Services</a>&nbsp;&nbsp;&nbsp;&nbsp;')
document.write('<a href="'+rootpath+'PricingI.htm" class="clsMenu">Pricing</a>&nbsp;&nbsp;&nbsp;&nbsp;')
}
if(strPageTitle=="Legal"){
document.write('<a href="'+rootpath+'GRStudios.htm" class="clsMenu">'+
   '<strong>Home</strong></a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="'+rootpath+'softwarei.htm" class="clsMenu">'+
   '<strong>Products</strong></a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="'+rootpath+'bussoli.htm"class="clsMenu">'+
   '<strong>Services</strong></a><br><br>')
}
if(strPageTitle=="Client"){
document.write('<a href="'+rootpath+'GRStudios.htm" class="clsCMenu">'+
   '<strong>Home</strong></a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="'+rootpath+'softwarei.htm" class="clsCMenu">'+
   '<strong>Products</strong></a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="'+rootpath+'bussoli.htm"class="clsCMenu">'+
   '<strong>Services</strong></a><br><br>')
}
}

function BuildFtr(cls,clr,ln){
if(!cls){cls='clsMenu'}else{cls=cls}
if(!clr){clr='#0080FF'}else{clr=clr}
if(!ln){ln='blanklbl'}else{ln=ln}
document.write('<span class="'+cls+'">'+
   '<a href="javascript:Pop(\''+rootpath+'information/infcontact\',475,375,0)" '+
   'class="'+cls+'">Contact Us</a> | '+
   '<a href="'+rootpath+'legali.htm#Privacy" class="'+cls+'">Privacy Policy</a> | '+
   '<a href="'+rootpath+'legali.htm" class="'+cls+'">Legal Notices</a></span>'+tos+'<br>'+
   '<img src="'+rootpath+'images/'+ln+'.gif" border="0" height="1" width="100%">'+
   '<span class="clsFtr"><font color='+clr+'>'+
   'Use of this web site signifies your agreement to the '+
   '<a href="'+rootpath+'legali.htm#WebUse" class="clsFtr"><font color='+clr+'>terms of use</a>.'+
   '&nbsp;&#169; Copyright 2002 by GR Studios.</font>'+
   '<a href="'+rootpath+'legali.htm#Copyright" class="clsFtr"><font color='+clr+'>'+
   'All Rights Reserved</font></a>.<br>'+
   '<span class="clsFtr"><font color='+clr+'>URL: '+window.location.href+'&nbsp;-&nbsp;</font></span>'+
   '<span class="clsFtr"><font color='+clr+'><script>ModStamp()</script></font></span>')
}

function BuildStoreLeft(){
document.write('<a href="'+rootpath+'information/infregister.htm" class="clsPMenu">Product Registration</a><br>'+
   '<a href="'+rootpath+'information/infofaq.htm" class="clsPMenu">Ordering FAQ</a><br>'+
   '<a href="'+rootpath+'information/inftsupt.htm" class="clsPMenu">Technical Support</a><br>'+
   '<a href="'+rootpath+'information/infcsupt.htm" class="clsPMenu">Customer Support</a><br>'+
   '<a href="'+rootpath+'information/infrefund.htm" class="clsPMenu">Refund Policy</a><br>'+
   '<a href="'+rootpath+'information/infprivacy.htm" class="clsPMenu"> Privacy Statement</a><br>'+
   '<img src="'+rootpath+'images/blank.gif" border="0" height="100" width="100%"><br>'+
   '<table border="0" cellpadding="10" cellspacing="0" align="center">'+
   '<tr><td align="center">'+
   '<a href="https://www.paypal.com/auction/pal=6UFTLN86BHXJ6" target="_blank">'+
   '<img src="'+rootpath+'images/pp_verified.gif" border="0" alt="Secure payment through PayPal!"></a><br>'+
   '<span class="clsFtr">Pay securely with any major credit card through PayPal</span><br>'+
   '<img src="'+rootpath+'images/imgcards.gif" border="0">'+
   '</td></tr></table>')
}


