/*
//This javascript module allows user to increase or decrease the font size of this page on their browser
var min=8;
var max=18;
function increaseFontSize() {
   var p = document.getElementsByTagName('p');
   for(i=0;i<p.length;i++) {
      if(p[i].style.fontSize) {
         var s = parseInt(p[i].style.fontSize.replace("px",""));
      } else {
         var s = 12;
      }
      if(s!=max) {
         s += 1;
      }
      p[i].style.fontSize = s+"px"
   }
}
function decreaseFontSize() {
   var p = document.getElementsByTagName('p');
   for(i=0;i<p.length;i++) {
      if(p[i].style.fontSize) {
         var s = parseInt(p[i].style.fontSize.replace("px",""));
      } else {
         var s = 12;
      }
      if(s!=min) {
         s -= 1;
      }
      p[i].style.fontSize = s+"px"
   }   
}

*/
//////////////////////////////////////////////////////////////////////////////////////////////////////////

//Javascript for Email signup popup
function popemailsignup() {
    window.open("http://www.imageminc.com/client/signup/emailsignup.htm","Window1","menubar=no,width=400,height=300,toolbar=no");
}
///////////////////////////////////////////////////////////////////////////////////////////////////////



/////////Load the pages CSS code///////////
document.write("<link rel='stylesheet' type='text/css' href='../include/main.css'>")
////////////////////////////////////////////////////////////////////////////////////////



document.write("<table border='0' id='table1' cellspacing='0' cellpadding='0' width='860' height='60'>")



//PHP zone: This checks if the user is logged in
//document.write("<?php echo 'Login to access restricted content';?>")

//Welcome bar: If user is logged in, this line will show a welcome.... you are logged in!!!/////////////
document.write("<tr>")
document.write("<td width='860' height='5' colspan='3' align='right'>&nbsp;</td>")
document.write("</tr>")

document.write("<tr>")
document.write("<td valign='top' width='196'><a href='../index.htm'><img border='0' src='images/logo-IP.png' width='151' height='60'></a>")
//document.write("<p align='left'><font color='#800000'><b>IMAGEM PRECISION</b></font></p>")
document.write("</td>")
//Banner link in the next line
//document.write("<td height='60' width='468'><a href='21DollarCert.htm'><img border='0' src='images/banners/idex-15.gif' width='468' height='60'></a></td>")

document.write("<td height='60' width='468'>")
document.write("<object classid='clsid:D27CDB6E-AE6D-11CF-96B8-444553540000' id='index_banner' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0' border='0' width='468' height='60'>")
document.write("	<param name='movie' value='../flash/index_banner.swf'>")
document.write("	<param name='quality' value='High'>")
document.write("	<embed src='flash/index_banner.swf' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' name='index_banner' width='468' height='60' quality='High'>")
document.write("</object>")
document.write("</td>")

document.write("<td width='196' valign='top'>")
document.write("<p align='right'>")
document.write("<a title='Subscribe to ImaGem's email newsletter. Get the latest news, promotions and updates.' href='javascript:popemailsignup()'><font color='#800000'><b>EMAIL SIGNUP</b></font></a>")
document.write("<b>&nbsp;&nbsp;|&nbsp;&nbsp;</b>")
document.write("<a title='Login to order products, view your account and access confidential data' href='https://www.imageminc.com/client/index.htm' target='_blank'><font color='#800000'><b>SIGN IN</b></font></a>")
document.write("<br><br>")
document.write("<a title='Login to order products, view your account and access confidential data' href='https://www.imageminc.com/client/index.htm' target='_blank'><font color='#800000'><b>ORDER ONLINE</b></font></a>")
document.write("</p>")
document.write("</td>")

//Add a blank table row 7px ht to seperate banner from menu bar
document.write("<tr>")
document.write("<td width='860' height='7' colspan='3'>")
document.write("</tr>")

document.write("<tr>")
document.write("<td width='860' colspan='3' align='right'>")

//document.write("<a href='javascript:decreaseFontSize();'><img border='0' src='images/font-dec.gif' alt='Decrease font size for easier reading' width='25' height='25'></a>")
//document.write("<a href='javascript:increaseFontSize();'><img border='0' src='images/font-inc.gif' alt='Increase font size for easier reading' width='25' height='25'></a>")
//Load the CSS menu bar
document.write("<script src='../include/cssddmenu/cssdd.js'></script>")
////////////////////////
document.write("</td>")
document.write("</tr>")

document.write("</table>")

//document.write("<br>")