<!--
// GLOBAL SCRIPT www.supapress.co.uk

// (copyright) ICK Technology Ltd | www.icktechnology.co.uk (copyright)


function FA_SlideShow(){
GB_clock(2)
VA_A1.src = "http://www.supapress.co.uk/Images/Label.jpg";
VA_A2.src = "http://www.supapress.co.uk/Images/Label1.jpg";
VA_B1.src = "http://www.supapress.co.uk/Images/Decal.jpg";
VA_B2.src = "http://www.supapress.co.uk/Images/Decal1.jpg";
VA_C1.src = "http://www.supapress.co.uk/Images/Overlay.jpg";
VA_C2.src = "http://www.supapress.co.uk/Images/Overlay1.jpg";
VA_D1.src = "http://www.supapress.co.uk/Images/Vinyl_Cut_Lettering.jpg";
VA_D2.src = "http://www.supapress.co.uk/Images/Vinyl_Cut_Lettering1.jpg";
VA_E1.src = "http://www.supapress.co.uk/Images/Keyboard-Surround.jpg";
VA_E2.src = "http://www.supapress.co.uk/Images/Keyboard-Surround1.jpg";
VA_F1.src = "http://www.supapress.co.uk/Images/Barcodes.jpg";
VA_F2.src = "http://www.supapress.co.uk/Images/Barcodes1.jpg";
VA_G1.src = "http://www.supapress.co.uk/Images/MouseMat.jpg";
VA_G2.src = "http://www.supapress.co.uk/Images/MouseMat1.jpg";
VA_H1.src = "http://www.supapress.co.uk/Images/Help.jpg";
VA_H2.src = "http://www.supapress.co.uk/Images/Help1.jpg";
VA_Timer=self.setTimeout("FA_SlideShowA()", 1000);
};
function FA_SlideShowA(){
if (VA_j==0){
document.getElementById('labels').src = VA_A1.src;
document.getElementById('decals').src = VA_B1.src;
document.getElementById('overlays').src = VA_C1.src;
document.getElementById('vinyl').src = VA_D1.src;
document.getElementById('surrounds').src = VA_E1.src;
document.getElementById('barcodes').src = VA_F1.src;
document.getElementById('PadPrinting').src = VA_G1.src;
document.getElementById('help').src = VA_H1.src;
}
else if (VA_j==1){
document.getElementById('labels').src = VA_A2.src;
document.getElementById('decals').src = VA_B2.src;
document.getElementById('overlays').src = VA_C2.src;
document.getElementById('vinyl').src = VA_D2.src;
document.getElementById('surrounds').src = VA_E2.src;
document.getElementById('barcodes').src = VA_F2.src;
document.getElementById('PadPrinting').src = VA_G2.src;
document.getElementById('help').src = VA_H2.src;
};
VA_j++;
if (VA_j==2){VA_j=0};
VA_Timer=self.setTimeout("FA_SlideShowA()", 3000);
};
function FC_load() {
//clock(0);
}
function FC_Call(VC_s){
if (document.forms['Fm_Call'].N.value==''){
alert('Please enter your name.');
return;
};
if (document.forms['Fm_Call'].T.value==''){
alert('Please enter your telephone number.');
return;
};
if (document.forms['Fm_Call'].Da.value=='0@0'){
alert('Please select the date you wish to be called back on.');
return;
};
if (document.forms['Fm_Call'].Ti.value=='0'){
alert('Please select the time you wish to be called back at.');
return;
};
if (document.forms['Fm_Call'].M.value=='' || document.forms['Fm_Call'].M.value=='Type your message here'){
alert('Please enter your message.');
return;
};
document.forms['Fm_Call'].D.value=VC_s
document.forms['Fm_Call'].action="call-sent.asp";
document.forms['Fm_Call'].submit();
}
function FC_SelD(){
var VC_B='<select size="1" name="Ti"><option selected value="0">Please select time</option>'; // start of select box
var VC_A=document.forms['Fm_Call'].Da.options[document.forms['Fm_Call'].Da.selectedIndex].value.split(/\@/g); // date & week day
var VC_C=VC_A[0] // date
var VC_D; //time open
var VC_E; // time close
if (VC_A[1]=="2"){
VC_D=7.0;
VC_E=16.30;
};
if (VC_A[1]=="3"){
VC_D=7.0;
VC_E=16.30;
};
if (VC_A[1]=="4"){
VC_D=7.0;
VC_E=16.30;
};
if (VC_A[1]=="5"){
VC_D=7.0;
VC_E=16.30;
};
if (VC_A[1]=="6"){
VC_D=7.0;
VC_E=15.30;
};
var VC_F=VC_D; // hour
var VC_G=00; // minute
while (VC_D <= VC_E-0.20)
{
VC_G=VC_G+10;
if (VC_G>=60){
VC_G=00;
VC_F=VC_F+1;
};
VC_D=VC_F+'.'+VC_G;
VC_D=parseFloat(VC_D).toFixed(2);
VC_B=VC_B+'<option value="'+VC_D+'">'+VC_D+'</option>';
};
document.getElementById('Ctime').innerHTML = VC_B+'</select>';
}
function FD_load() {
GB_clock(1);
setTimeout("FD_loadB()", 2000);
};
//<![CDATA[
function FD_loadB() {
if (GBrowserIsCompatible()) {
var map = new GMap2(document.getElementById("map"));
map.addControl(new GSmallMapControl());
map.addControl(new GMapTypeControl());
map.setCenter(new GLatLng(51.50724,-0.428011), 17);
map.setMapType(G_HYBRID_MAP );
var baseIcon = new GIcon();
baseIcon.shadow = "http://www.google.com/mapfiles/shadow50.png";
baseIcon.iconSize = new GSize(20, 34);
baseIcon.shadowSize = new GSize(37, 34);
baseIcon.iconAnchor = new GPoint(9, 34);
baseIcon.infoWindowAnchor = new GPoint(9, 2);
baseIcon.infoShadowAnchor = new GPoint(18, 25);
function createMarker(point, index) {var letter = String.fromCharCode("A".charCodeAt(0) + "S");
var icon = new GIcon(baseIcon);
icon.image = "http://www.google.com/mapfiles/markerS.png";
var marker = new GMarker(point, icon);
GEvent.addListener(marker, "click", function() {marker.openInfoWindowHtml("<b>Supapress</b><br>Grainword Ltd<br>Unit 3<br>Warnford Industrial Estate<br>Clayton Road<br>Hayes<br>Middlesex<br>UB3 1BQ<br>Tel: 0208 561 2401");
}
);
return marker;
};
var point = new GLatLng(51.50724,-0.428011);map.addOverlay(createMarker(point));
};
};
//]]>
function FE_EU(VE_s){
if (document.forms['Fm_Email'].N.value==''){
alert('Please enter your name.');
return;
};
if (document.forms['Fm_Email'].E.value==''){
alert('Please enter your email address.');
return;
};
document.forms['Fm_Email'].D.value=VE_s
document.forms['Fm_Email'].action="email-sent.asp";
document.forms['Fm_Email'].submit();
};
function FG_load() {
GB_clock(0);
};
function FG_Inter(){
document.forms['Fm_Inter'].action="interactive.asp";
document.forms['Fm_Inter'].submit();
}
function FF_Mess(s){
if (document.forms['Fm_Mess'].N.value==''){
alert('Please enter your name.');
return;
};
if (document.forms['Fm_Mess'].E.value==''){
alert('Please enter your email address.');
return;
};
if (document.forms['Fm_Mess'].M.value=='' || document.forms['Fm_Mess'].M.value=='Type your message here'){
alert('Please enter your message.');
return;
};
document.forms['Fm_Mess'].D.value=s
document.forms['Fm_Mess'].action="message-sent.asp";
document.forms['Fm_Mess'].submit();
}
function FH_Trac(){
document.forms['Fm_Trac'].action="track.asp";
document.forms['Fm_Trac'].submit();
}
function FI_load() {
GB_clock(0);
};
function FJ_load() {
GB_clock(0);
};
function FK_load() {
GB_clock(0);
};
function FL_load() {
GB_clock(0);
};
function FM_load() {
GB_clock(0);
};
function FN_load() {
GB_clock(0);
};
function FO_load() {
GB_clock(0);
};
function FQ_load() {
GB_clock(0);
};
function FR_load() {
GB_clock(0);
};
function FS_load() {
GB_clock(0);
};
function FT_load() {
GB_clock(0);
};
function FQ_load() {
GB_clock(0);
};
function FV_load() {
GB_clock(0);
};
function FW_load() {
GB_clock(0);
};
function FX_load() {
GB_clock(0);
};
function FZ_load() {
GB_clock(0);
//document.Fm_Labels.query.focus();
//document.Fm_Labels.query.select();
};
function FZ_Search(){
document.forms['Fm_Labels'].action="http://www.supapress.co.uk/search/labels.asp";
document.forms['Fm_Labels'].submit();
}
function FAA_load() {
GB_clock(0);
//document.Fm_Decals.query.focus();
//document.Fm_Decals.query.select();
};
function FAA_Search(){
document.forms['Fm_Decals'].action="http://www.supapress.co.uk/search/decals.asp";
document.forms['Fm_Decals'].submit();
}
function FBA_load() {
GB_clock(0);
//document.Fm_Overlays.query.focus();
//document.Fm_Overlays.query.select();
};
function FBA_Search(){
document.forms['Fm_Overlays'].action="http://www.supapress.co.uk/search/overlays.asp";
document.forms['Fm_Overlays'].submit();
}
function FCA_load() {
GB_clock(0);
//document.Fm_Surrounds.query.focus();
//document.Fm_Surrounds.query.select();
};
function FCA_Search(){
document.forms['Fm_Surrounds'].action="http://www.supapress.co.uk/search/surrounds.asp";
document.forms['Fm_Surrounds'].submit();
};
function FDA_load() {
GB_clock(0);
//document.Fm_VinylLettering.query.focus();
//document.Fm_VinylLettering.query.select();
};
function FDA_Search(){
document.forms['Fm_VinylLettering'].action="http://www.supapress.co.uk/search/vinyl-cut-lettering.asp";
document.forms['Fm_VinylLettering'].submit();
};
function FEA_load() {
GB_clock(0);
//document.Fm_Barcodes.query.focus();
//document.Fm_Barcodes.query.select();
};
function FEA_Search(){
document.forms['Fm_Barcodes'].action="http://www.supapress.co.uk/search/barcodes.asp";
document.forms['Fm_Barcodes'].submit();
};
function FFA_load() {
GB_clock(0);
//document.Fm_PadPrinting.query.focus();
//document.Fm_PadPrinting.query.select();
};
function FFA_Search(){
document.forms['Fm_PadPrinting'].action="http://www.supapress.co.uk/search/pad-printing.asp";
document.forms['Fm_PadPrinting'].submit();
}
function FGA_load() {
GB_clock(0);
//document.Fm_Materials.query.focus();
//document.Fm_Materials.query.select();
};
function FGA_Search(){
document.forms['Fm_Materials'].action="http://www.supapress.co.uk/search/materials.asp";
document.forms['Fm_Materials'].submit();
};
function FHA_load() {
GB_clock(0);
//document.Fm_Adhesives.query.focus();
//document.Fm_Adhesives.query.select();
};
function FHA_Search(){
document.forms['Fm_Adhesives'].action="http://www.supapress.co.uk/search/adhesives.asp";
document.forms['Fm_Adhesives'].submit();
};
var MenuFlash=0;
var MenuM;
var VGB_As;
var VGB_Of=2;
var VGB_iT;
var VGB_dT;
var VGB_Ctimer;
function GB_clock(VGB_A){
VGB_As=VGB_A;
if (MenuFlash==0){
document.getElementById('Menu_Links').style.color="#3c7a0a";
MenuFlash=1;
}
else
{
document.getElementById('Menu_Links').style.color="#ffff00";
MenuFlash=0;
};
VGB_Ctimer=setTimeout("GB_clock(VGB_As)", 1000);
return;
VGB_S=parseFloat(VGB_S);
VGB_M=parseFloat(VGB_M);
VGB_H=parseFloat(VGB_H);
VGB_S=VGB_S+1;
if (VGB_S==60){VGB_S=0;VGB_M=VGB_M+1;};
if (VGB_M==60){VGB_M=0;VGB_H=VGB_H+1;};
if (VGB_M<=9){VGB_M="0"+VGB_M;};
if (VGB_H==24){VGB_H=00;};
VGB_iT=parseFloat(VGB_H+"."+VGB_M).toFixed(2)
if ((VGB_iT>=VGB_O&&VGB_iT<VGB_C)&&(VGB_Of==0||VGB_Of==2)){
if (VGB_A==1){
document.getElementById('OfText').innerHTML = VD_OfO;
document.getElementById('OfTextA').innerHTML = VD_OfOA;
};
VGB_Of=1;
}
else if ((!(VGB_iT>=VGB_O&&VGB_iT<VGB_C))&&(VGB_Of==1||VGB_Of==2)){
if (VGB_A==1){
document.getElementById('OfText').innerHTML = VD_OfC;
document.getElementById('OfTextA').innerHTML = VD_OfCA;
};
VGB_Of=0;
};
if (VGB_S<=9)VGB_S="0"+VGB_S;
VGB_dT="Time: "+VGB_H+":"+VGB_M+":"+VGB_S+" "
document.getElementById('Clock').innerHTML=VGB_dT
if (VGB_A==1){
document.getElementById('ClockB').innerHTML=VGB_dT
};
};
function GB_screensize(){
var x =Math.round(screen.availWidth);
x=parseInt(x)/2;
x=parseInt(x)-405;
if (x<0){
x=0;
};
if (document.getElementById){
var Element = document.getElementById('Main');
Element.style.left=parseInt(x);
};
};
// -->
