/* File: tpl_top.js
 * Description: Template to be included at start of document body
 * Version: 0.11
 * Date: February 2001
 * Include with:
 *   <SCRIPT LANGUAGE="JavaScript1.1" SRC="tpl_top.js"></SCRIPT>
 * after the closing </HEAD> tag of page.
 * This template includes the opening <BODY> tag
 */

var enableSpoff = false;
var spoffOnceOnly = false;
var spoffImage = "http://www.pushposters.co.uk/images/maydiscount.gif";
var spoffX = -240;
var spoffY = 100;

function get_cookie(Name) {
  var search = Name + "="
  var returnvalue = "";
  if (document.cookie.length > 0) {
    offset = document.cookie.indexOf(search)
    if (offset != -1) { // if cookie exists
      offset += search.length
      // set index of beginning of value
      end = document.cookie.indexOf(";", offset);
      // set index of end of cookie value
      if (end == -1)
         end = document.cookie.length;
      returnvalue=unescape(document.cookie.substring(offset, end))
      }
   }
  return returnvalue;
}

function CloseFloatingSpoff() {
  document.getElementById("FloatingSpoff").style.visibility="hidden";
  return false;
}

document.writeln('<BODY BGCOLOR="#FFFFFF">');

document.writeln('<TABLE cellSpacing=0 cellPadding=0 width="860" Align="Center" border=0 BGCOLOR="#FFFFFF">');
document.writeln(' <TR>');
document.writeln('  <TD width="206" rowspan="2" vAlign=top align=left><A HREF="http://www.pushposters.com"><IMG height=47 src="images/pushpost.jpg" width=206 border="0"></A></TD>');
document.writeln('  <TD width="342"rowspan="2" vAlign=top align=center><A HREF="https://www.pushposters.co.uk/pshop/comodo.htm"><IMG height=56 src="images/comodo2.gif" width=60 border="0"></A><A HREF="http://www.pushposters.co.uk/pshop/accepted.htm"><IMG height=56 src="images/creditcards2.gif" width=134 border="0"></A></TD>');
document.writeln('  <td align="right" valign="top">');
document.writeln('   <table border="0" cellspacing="0" cellpadding="0">');
document.writeln('    <TR>');
document.writeln('     <TD CLASS="link1"><A HREF="http://www.pushposters.co.uk/pshop/help.htm">Help</a> | <A HREF="http://www.pushposters.co.uk/pshop/orderstatus.htm">Order Status</a> | <A HREF="http://www.pushposters.co.uk/pshop/mlistjoin.htm">Mailing List</a> | <A HREF="http://www.pushposters.co.uk/pshop/partner1.htm">Affiliates</A> |&nbsp;</TD><TD width="100" vAlign=top align=right><A HREF="http://www.pushposters.co.uk/cgi/pcart/viewcart.cgi"><img src="images/viewcart.gif" border="0"width="100" height="24"></A></TD>');
document.writeln('    </TR>');
document.writeln('   </TABLE>');
document.writeln('  </TD></TR>');
document.writeln(' <TR>');
document.writeln('  <TD vAlign=bottom align=right><img Src="images/currcount.jpg"></TD>');
document.writeln(' </TR>');
document.writeln('</TABLE>');

document.writeln('<table width="860" border="0" cellspacing="0" cellpadding="0" align="center">');
document.writeln(' <tr>');
document.writeln('  <td valign="bottom">');
document.writeln('   <table border="0" cellspacing="0" cellpadding="0">');
document.writeln('    <tr>');
document.writeln('     <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>');
document.writeln('     <td width="52" height="23" background="images/label.jpg" align="right"><a href="http://www.pushposters.co.uk/cgi/pcart/search.cgi?cat=MP&type=2"><B>Posters</B></a></td>');
document.writeln('     <td><img src="images/labelright.jpg" width="8" height="23" border="0"></td>');
document.writeln('     <td width="130" height="23" background="images/label.jpg" align="right"><a href="http://www.pushposters.co.uk/cgi/pcart/search.cgi?cat=MV"><B>Framed Posters/Prints</B></a></td>');
document.writeln('     <td><img src="images/labelright.jpg" width="8" height="23" border="0"></td>');
document.writeln('     <td width="184" height="23" background="images/label.jpg" align="right"><a href="http://www.pushposters.co.uk/cgi/pcart/search.cgi?cat=MP&type=1"><B>Limited Edition Concert Posters</B></a></td>');
document.writeln('     <td><img src="images/labelright.jpg" width="8" height="23" border="0"></td>');
document.writeln('     <td width="30" height="23" background="images/label.jpg" align="right"><a href="http://www.pushposters.co.uk/cgi/pcart/search.cgi?artist=SALE"><B>Sale</B></a></td>');
document.writeln('     <td><img src="images/labelright.jpg" width="8" height="23" border="0"></td>');
document.writeln('    </tr>');
document.writeln('   </table>');
document.writeln('  </td>');
document.writeln('  <td align="right">');





function FFoxChangeCountry(c_code, c_cur, c_name) {
  document.cookie="c_cur=" + c_cur + "; path=/;";
  document.cookie="c_code=" + c_code + "; path=/;";
  document.cookie="c_name=" + c_name + "; path=/;";
  window.location.reload(true);
}

function IEChangeCountry(c_codecurname) {
  c_code = c_codecurname.substr(0, 2);
  c_cur = c_codecurname.substr(2, 1);
  c_name = c_codecurname.substr(3);
//alert(c_code);
//alert(c_cur);
//alert(c_name);
  document.cookie="c_cur=" + c_cur + "; path=/;";
  document.cookie="c_code=" + c_code + "; path=/;";
  document.cookie="c_name=" + c_name + "; path=/;";
  window.location.reload(true);
}



//document.writeln('<style type="text/css">');
//document.writeln('<!--');
//document.writeln('select {color:white; background-color:#3169C6; font-size: 80%}');
//document.writeln('select:hover {color:white; background-color:#ee3333}');
//document.writeln('-->');
//document.writeln('</style>');

document.writeln('<style type="text/css">');
document.writeln('<!--');
document.writeln('#countrylist {color:white; background-color:#3169C6; font-size: 80%}');
document.writeln('#countrylist:hover {color:white; background-color:#ee3333}');
document.writeln('-->');
document.writeln('</style>');

if (get_cookie("c_cur") != "") {
var c_cur = get_cookie("c_cur");
if ('e' == c_cur) {
  c_curname = '€ - Euros'
} else if ('d' == c_cur) {
  c_curname = '$ - USD'
} else {
  c_curname = '£ - GBP'
}
var c_name = get_cookie("c_name");
document.writeln('<TABLE cellSpacing=0 cellPadding=2 width="200" border=0 ALIGN="right">');
document.writeln(' <TR vAlign=center>');
document.writeln('  <TD width="35%" style="color: black; background-color:#E1E1E1;" vAlign=top align=center><b>'+c_curname+'</b></TD>');
document.writeln('  <TD width="65%" style="color: black; background-color:#E1E1E1;" vAlign=top align=center><b>'+c_name+'</b></TD>');

document.writeln(' </TR>');


document.writeln(' <TR vAlign=top>');
document.writeln('  <TD colspan="2" style="color: white" background="images/currcount1.jpg" height="35" vAlign=top align=center>');
//document.writeln('<select style="color:white; background-color:#D0D0D0; font-size: 80%">');

//document.writeln('&nbsp;<select ID=countrylist>');
document.writeln('&nbsp;<select id=countrylist onchange="IEChangeCountry(this.value)">');

document.writeln('<option selected>-- change country --');
//document.writeln('<option onClick="FFoxChangeCountry(\'GB\',\'p\',\'United Kingdom\')">United Kingdom');
document.writeln('<option value="GBpUnited Kingdom">United Kingdom');
document.writeln('<option value="USdUSA">USA');
document.writeln('<option value="ARpArgentina">Argentina');
document.writeln('<option value="ATeAustria">Austria');
document.writeln('<option value="AUpAustralia">Australia');
document.writeln('<option value="BHpBahrain">Bahrain');
document.writeln('<option value="BEeBelgium">Belgium');
document.writeln('<option value="B2pBFPO">BFPO');
document.writeln('<option value="BRpBrazil">Brazil');
document.writeln('<option value="BNpBrunei">Brunei');
document.writeln('<option value="BGpBulgaria">Bulgaria');
document.writeln('<option value="CAdCanada">Canada');
document.writeln('<option value="CLpChile">Chile');
document.writeln('<option value="HRpCroatia">Croatia');
document.writeln('<option value="CYpCyprus">Cyprus');
document.writeln('<option value="CZpCzech Republic">Czech Republic');
document.writeln('<option value="DKpDenmark">Denmark');
document.writeln('<option value="EEpEstonia">Estonia');
document.writeln('<option value="FOpFaroe Islands">Faroe Islands');
document.writeln('<option value="FIeFinland">Finland');
document.writeln('<option value="FReFrance">France');
document.writeln('<option value="DEeGermany">Germany');
document.writeln('<option value="GIpGibraltar">Gibraltar');
document.writeln('<option value="GReGreece">Greece');
document.writeln('<option value="GLpGreenland">Greenland');
document.writeln('<option value="HKpHong Kong">Hong Kong');
document.writeln('<option value="HUpHungary">Hungary');
document.writeln('<option value="ISpIceland">Iceland');
document.writeln('<option value="IEeIreland">Ireland');
document.writeln('<option value="ILpIsrael">Israel');
document.writeln('<option value="ITeItaly">Italy');
document.writeln('<option value="JPpJapan">Japan');
document.writeln('<option value="KRpSouth Korea">South Korea');
document.writeln('<option value="LVpLatvia">Latvia');
document.writeln('<option value="LTpLithuania">Lithuania');
document.writeln('<option value="LUeLuxembourg">Luxembourg');
document.writeln('<option value="MTpMalta">Malta');
document.writeln('<option value="MXpMexico">Mexico');
document.writeln('<option value="MCpMonaco">Monaco');
document.writeln('<option value="NLeNetherlands">Netherlands');
document.writeln('<option value="NZpNew Zealand">New Zealand');
document.writeln('<option value="NOpNorway">Norway');
document.writeln('<option value="OMpOman">Oman');
document.writeln('<option value="PLpPoland">Poland');
document.writeln('<option value="PTePortugal">Portugal');
document.writeln('<option value="PRpPuerto Rico">Puerto Rico');
document.writeln('<option value="QApQatar">Qatar');
document.writeln('<option value="RUpRussia">Russia');
document.writeln('<option value="SApSaudi Arabia">Saudi Arabia');
document.writeln('<option value="CSpSerbia & Montenegro">Serbia & Montenegro');
document.writeln('<option value="SGPSingapore">Singapore');
document.writeln('<option value="SKpSlovakia">Slovakia');
document.writeln('<option value="SIeSlovenia">Slovenia');
document.writeln('<option value="ZApSouth Africa">South Africa');
document.writeln('<option value="ESeSpain">Spain');
document.writeln('<option value="SEpSweden">Sweden');
document.writeln('<option value="CHpSwitzerland">Switzerland');
document.writeln('<option value="TWpTaiwan">Taiwan');
document.writeln('<option value="THpThailand">Thailand');
document.writeln('<option value="TTpTrinidad & Tobago">Trinidad & Tobago');
//document.writeln('<option onClick="alert(\'testing\')">Trinidad & Tobago');
document.writeln('<option value="TRpTurkey">Turkey');
document.writeln('<option value="GBpUnited Kingdom">United Kingdom');
document.writeln('<option value="UYpUruguay">Uruguay');
document.writeln('<option value="USdUSA">USA');
document.writeln('</select>');
document.writeln('</TD>');
document.writeln(' </TR>');




document.writeln('</TABLE>');
}
























document.writeln('  </td>');
document.writeln(' </tr>');
document.writeln('</table>');
























document.writeln('   <TABLE cellSpacing=0 cellPadding=0 width=860 bgColor=#ffffff border=0 align="center">');
document.writeln('    <TR>');
document.writeln('     <TD>');
document.writeln('      <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>');
document.writeln('       <TR>');
document.writeln('        <TD>');
document.writeln('            <FORM action="http://www.pushposters.co.uk/cgi/pcart/search.cgi" method="post" name="srchform"><INPUT TYPE=hidden name=type value="">');
document.writeln('        <TD vAlign=top align=right bgColor=#3069C6><IMG alt="" src="images/corner.gif" HEIGHT="30" WIDTH="20"><BR></TD>');
document.writeln('        <TD vAlign=middle width="100%">');
document.writeln('         <TABLE cellSpacing=0 cellPadding=0 width="100%" background="images/bgstripe.jpg" border=0 align="center">');
document.writeln('          <tr>');
document.writeln('           <TD vAlign=middle align=center">');
document.writeln('            <TABLE cellSpacing=0 cellPadding=0 width="400" background="images/bgstripe.jpg" border=0 align="center">');
document.writeln('             <tr>');
document.writeln('              <td align="center" HEIGHT="30"><span class="headings">Search For</span></td>');
document.writeln('              <td align="center" HEIGHT="30"> <INPUT TYPE=text name=artist style="font-size: 9px;"></td>');
document.writeln('              <td align="center" HEIGHT="30"><span class="headings"> in</span></td>');
document.writeln('              <td align="center" HEIGHT="30">');
document.writeln('               <SELECT name=cat style="font-size: 10px;">');
document.writeln('               <OPTION value="">All Products</OPTION>');
document.writeln('               <OPTION value="">------------</OPTION>');
document.writeln('               <OPTION value="MV">Framed Posters/Prints</OPTION>');
document.writeln('               <OPTION value="ML">Limited Edition Prints</OPTION>');
document.writeln('               <OPTION value="MP">Posters</OPTION>');
document.writeln('               <OPTION value="MP2">&nbsp;&nbsp;- Regular Posters</OPTION>');
document.writeln('               <OPTION value="MP3">&nbsp;&nbsp;- Giant Posters</OPTION>');
document.writeln('               <OPTION value="MP4">&nbsp;&nbsp;- Door Posters</OPTION>');
document.writeln('               <OPTION value="MP5">&nbsp;&nbsp;- Black Light Posters</OPTION>');
document.writeln('               <OPTION value="MP6">&nbsp;&nbsp;- Matted Prints</OPTION>');
document.writeln('               <OPTION value="MP7">&nbsp;&nbsp;- Canvas Prints</OPTION>');
document.writeln('               <OPTION value="MP8">&nbsp;&nbsp;- Art Prints</OPTION>');
document.writeln('               <OPTION value="MF">&nbsp;&nbsp;- Textile Poster Flags</OPTION>');
document.writeln('               <OPTION value="MB">T-Shirts/Bandwear</OPTION>');
document.writeln('               <OPTION value="MB1">&nbsp;&nbsp;- T-shirts & Skinnys</OPTION>');
document.writeln('               <OPTION value="MB2">&nbsp;&nbsp;- Long sleeved shirts</OPTION>');
document.writeln('               <OPTION value="MB3">&nbsp;&nbsp;- Hoodies</OPTION>');
//document.writeln('               <OPTION value="MV">Caps and Hats</OPTION>');
document.writeln('               <OPTION value="MJ">Band Jewellery</OPTION>');
//document.writeln('               <OPTION value="MF">Poster Flags</OPTION>');
document.writeln('               </SELECT>');
document.writeln('              </td>');
document.writeln('              <td align="center" HEIGHT="30"><INPUT type=image align=middle height=19 alt=Search width=19 src="images/search2.gif" border=0 name=add></span></td>');
document.writeln('             </tr>');
document.writeln('            </TABLE>');
document.writeln('           </TD></FORM>');
document.writeln('          </TR>');
document.writeln('         </TABLE>');
document.writeln('        <TD ALIGN="right"><IMG SRC="images/corner_rt.gif"  HEIGHT="30" WIDTH="20"></td>');
document.writeln('        </td>');
document.writeln('       </TR>');
document.writeln('      </TABLE>');
document.writeln('     </td>');
document.writeln('    </TR>');
document.writeln('   </TABLE>');








