function shoppingcart( page ) {
window.self.name="polarsite"; // name for main window to able the back links to polar site
options =
"height=655,width=518,resizable=yes,"
+ "screenX=5,screenY=5," // netscape
+ "left=5, top=5," // IE
+ "location=no,scrollbars=yes,menubar=no,"
+ "toolbar=no,titlebar=no,personalbar=no,"
+ "personalbar=no,directories=no,"
+ "fullscreen=no"; // IE only
window.open(page, "shoppingcart", options);
}
function dcforum( page ) {
window.self.name="polarsite"; // name for main window to able the back links to polar site
options =
"height=680,width=660,resizable=yes,"
+ "screenX=5,screenY=5," // netscape
+ "left=5, top=5," // IE
+ "location=no,scrollbars=yes,menubar=no,"
+ "toolbar=yes,titlebar=no,personalbar=no,"
+ "personalbar=no,directories=no,"
+ "fullscreen=no"; // IE only
window.open(page, "dcforum", options);
}
function legalwindow( page ) {
window.self.name="polarsite"; // name for main window to able the back links to polar site
options =
"height=400,width=392,resizable=yes," // changed height from 280 to 400
+ "screenX=25,screenY=25," // netscape
+ "left=25, top=25," // IE
+ "location=no,scrollbars=yes,menubar=no,"
+ "toolbar=no,titlebar=no,personalbar=no,"
+ "personalbar=no,directories=no,"
+ "fullscreen=no"; // IE only
window.open(page, "Legal", options);
}
function glossarywindow( page ) {
window.self.name="polarsite"; // name for main window to able the back links to polar site
options =
"height=400,width=392,resizable=yes," // changed height from 280 to 400
+ "screenX=25,screenY=25," // netscape
+ "left=25, top=25," // IE
+ "location=no,scrollbars=no,menubar=no,"
+ "toolbar=no,titlebar=no,personalbar=no,"
+ "personalbar=no,directories=no,"
+ "fullscreen=no"; // IE only
window.open(page, "glossary", options);
}
function productfinderwindow( page ) {
window.self.name="polarsite"; // name for main window to able the back links to polar site
options =
"height=324,width=880,resizable=no,"
+ "screenX=5,screenY=5," // netscape
+ "left=5, top=5," // IE
+ "location=no,scrollbars=no,menubar=no,"
+ "toolbar=no,titlebar=no,personalbar=no,"
+ "personalbar=no,directories=no,"
+ "fullscreen=no"; // IE only
window.open(page, "productfinder", options);
}
function helpwindow( page ) {
window.self.name="polarsite"; // name for main window to able the back links to polar site
options =
"height=280,width=392,resizable=yes,"
+ "screenX=25,screenY=25," // netscape
+ "left=25, top=25," // IE
+ "location=no,scrollbars=yes,menubar=no,"
+ "toolbar=no,titlebar=no,personalbar=no,"
+ "personalbar=no,directories=no,"
+ "fullscreen=no"; // IE only
window.open(page, "Help", options);
}
function featurewindow( page, tabs, content ) {
window.self.name="polarsite"; // name for main window to able the back links to polar site
options =
"height=400,width=392,resizable=no," // changed height from 280 to 400
+ "screenX=25,screenY=25," // netscape
+ "left=25, top=25," // IE
+ "location=no,scrollbars=no,menubar=no,"
+ "toolbar=no,titlebar=no,personalbar=no,"
+ "personalbar=no,directories=no,"
+ "fullscreen=no"; // IE only
gwin=window.open("", "glossary", options);
gwin.document.write('
Polar Glossary');
gwin.document.write('');
gwin.document.write('');
gwin.focus();
gwin.document.close();
}
function manualwindow( page ) {
window.self.name="polarsite"; // name for main window to able the back links to polar site
options =
"height=430,width=420,resizable=yes,"
+ "screenX=25,screenY=25," // netscape
+ "left=25, top=25," // IE
+ "location=no,scrollbars=no,menubar=no,"
+ "toolbar=no,titlebar=no,personalbar=no,"
+ "personalbar=no,directories=no,"
+ "fullscreen=no"; // IE only
window.open(page, "Manual", options);
}
function videowindow( page ) {
window.self.name="polarsite"; // name for main window to able the back links to polar site
options =
"height=400,width=350,resizable=yes,"
+ "screenX=25,screenY=25," // netscape
+ "left=25, top=25," // IE
+ "location=no,scrollbars=no,menubar=no,"
+ "toolbar=no,titlebar=no,personalbar=no,"
+ "personalbar=no,directories=no,"
+ "fullscreen=no"; // IE only
window.open(page, "Manual", options);
}
function hrmwindow( page ) {
window.self.name="polarsite"; // name for main window to able the back links to polar site
options =
"height=370,width=230,resizable=no,"
+ "screenX=25,screenY=25," // netscape
+ "left=25, top=25," // IE
+ "location=no,scrollbars=no,menubar=no,"
+ "toolbar=no,titlebar=no,personalbar=no,"
+ "personalbar=no,directories=no,"
+ "fullscreen=no"; // IE only
window.open(page, "hrm", options);
}
function servicewindow( page ) {
window.self.name="polarsite"; // name for main window to able the back links to polar site
options =
"height=620,width=680,resizable=yes,"
+ "screenX=5,screenY=5," // netscape
+ "left=5, top=5," // IE
+ "location=no,scrollbars=yes,menubar=no,"
+ "toolbar=no,titlebar=no,personalbar=no,"
+ "personalbar=no,directories=no,"
+ "fullscreen=no"; // IE only
window.open(page, "service", options);
}
function brochurewindow( page ) {
window.self.name="polarsite"; // name for main window to able the back links to polar site
options =
"height=560,width=790,resizable=no,"
+ "screenX=5,screenY=5," // netscape
+ "left=5, top=5," // IE
+ "location=no,scrollbars=no,menubar=no,"
+ "toolbar=no,titlebar=no,personalbar=no,"
+ "personalbar=no,directories=no,"
+ "fullscreen=no"; // IE only
window.open(page, "catalogue", options);
}
/* Opens up a new window centered screen - by checking the window */
/* resolution - window is centered on height less than screen height */
/* or window is centered and height ajusted to full screen if height more than screen height */
/* set left border to 25 to agree with the above */
function OpenWindow(url,wintool,winsize,width,height,winstatus) {
var pageheight = 0;
/* adjusts window size for internet explorer */
if ((screen.Height >= 0) && (screen.Width >= 0))
{
if (screen.Height - height > 50)
{
TopPosition = ((screen.Height)?(screen.Height - height)/2:100) - 50;
pageheight = height;
} else {
TopPosition = 0
pageheight = screen.Height - 110;
/* var width = screen.Width - 10; */
}
LeftPosition = 25;
}
/* adjusts window size for netscape navigator */
else if ((screen.availHeight >= 0) && (screen.availWidth >= 0))
{
if (screen.availHeight - height > 50)
{
TopPosition = ((screen.availHeight)?(screen.availHeight - height)/2:100) - 40;
pageheight = height;
} else {
TopPosition=0
pageheight = screen.availHeight - 90;
/* var width = screen.availWidth - 10; */
}
LeftPosition = 25;
}
NewWindow=window.open(url,"descr","location=no,menubar=no,directories=no,scrollbars=yes,screenX=" + LeftPosition +",screenY=" + TopPosition + ",width=" + width + ",height=" + pageheight + ",toolbar=" + wintool + ",resizable=" + winsize + ",status=" + winstatus + ",top=" + TopPosition + ",left=" + LeftPosition);
}
function demowindow( page ) {
window.self.name="polarsite"; // name for main window to able the back links to polar site
options =
"height=430,width=760,resizable=no,"
+ "screenX=15,screenY=15," // netscape
+ "left=15, top=15," // IE
+ "location=no,scrollbars=yes,menubar=no,"
+ "toolbar=no,titlebar=no,personalbar=no,"
+ "personalbar=no,directories=no,"
+ "fullscreen=no"; // IE only
window.open(page, "Demo", options);
}
function outdoorwindow( page ) {
window.self.name="polarsite"; // name for main window to able the back links to polar site
options =
"height=510,width=800,resizable=yes,"
+ "screenX=0,screenY=10," // netscape
+ "left=0, top=10," // IE
+ "location=no,scrollbars=yes,menubar=no,"
+ "toolbar=yes,titlebar=no,personalbar=no,"
+ "personalbar=no,directories=no,"
+ "fullscreen=no"; // IE only
window.open(page, "Demo", options);
}
function mobilewindow( page ) {
window.self.name="polarsite"; // name for main window to able the back links to polar site
options =
"height=600,width=800,resizable=yes,"
+ "screenX=0,screenY=0," // netscape
+ "left=0, top=0," // IE
+ "location=no,scrollbars=yes,menubar=no,"
+ "toolbar=no,titlebar=no,personalbar=no,"
+ "personalbar=no,directories=no,"
+ "fullscreen=no"; // IE only
window.open(page, "Demo", options);
}
function fitnesswindow( page ) {
window.self.name="polarsite"; // name for main window to able the back links to polar site
options =
"height=575,width=820,resizable=yes,"
+ "screenX=5,screenY=5," // netscape
+ "left=5, top=5," // IE
+ "location=no,scrollbars=yes,menubar=no,"
+ "toolbar=no,titlebar=no,personalbar=no,"
+ "personalbar=no,directories=no,"
+ "fullscreen=no"; // IE only
window.open(page, "Demo", options);
}
function cyclingwindow( page ) {
window.self.name="polarsite"; // name for main window to able the back links to polar site
options =
"height=600,width=800,resizable=yes,"
+ "screenX=5,screenY=5," // netscape
+ "left=5, top=5," // IE
+ "location=no,scrollbars=yes,menubar=no,"
+ "toolbar=no,titlebar=no,personalbar=no,"
+ "personalbar=no,directories=no,"
+ "fullscreen=no"; // IE only
window.open(page, "Demo", options);
}
function runningwindow( page ) {
window.self.name="polarsite"; // name for main window to able the back links to polar site
options =
"height=670,width=840,resizable=yes,"
+ "screenX=5,screenY=5," // netscape
+ "left=5, top=5," // IE
+ "location=no,scrollbars=yes,menubar=no,"
+ "toolbar=no,titlebar=no,personalbar=no,"
+ "personalbar=no,directories=no,"
+ "fullscreen=no"; // IE only
window.open(page, "Demo", options);
}
function xmaswindow( page ) {
window.self.name="polarsite"; // name for main window to able the back links to polar site
options =
"height=590,width=1000,resizable=yes,"
+ "screenX=5,screenY=5," // netscape
+ "left=5, top=5," // IE
+ "location=no,scrollbars=yes,menubar=no,"
+ "toolbar=yes,titlebar=yes,personalbar=no,"
+ "personalbar=no,directories=no,"
+ "fullscreen=no"; // IE only
window.open(page, "Demo", options);
}
function tdfwindow( page ) {
window.self.name="polarsite"; // name for main window to able the back links to polar site
options =
"height=660,width=850,resizable=yes,"
+ "screenX=5,screenY=5," // netscape
+ "left=5, top=5," // IE
+ "location=no,scrollbars=yes,menubar=no,"
+ "toolbar=yes,titlebar=no,personalbar=no,"
+ "personalbar=no,directories=no,"
+ "fullscreen=no"; // IE only
window.open(page, "Demo", options);
}
/* Disable the right click prevents viewing the code */
var isNS = (navigator.appName == "Netscape") ? 1 : 0;
var EnableRightClick = 0;
if(isNS)
document.captureEvents(Event.MOUSEDOWN||Event.MOUSEUP);
function mischandler(){
if(EnableRightClick==1){ return true; }
else {return false; }
}
function mousehandler(e){
if(EnableRightClick==1){ return true; }
var myevent = (isNS) ? e : event;
var eventbutton = (isNS) ? myevent.which : myevent.button;
if((eventbutton==2)||(eventbutton==3)) return false;
}
function keyhandler(e) {
var myevent = (isNS) ? e : window.event;
if (myevent.keyCode==96)
EnableRightClick = 1;
return;
}
document.oncontextmenu = mischandler;
document.onkeypress = keyhandler;
document.onmousedown = mousehandler;
document.onmouseup = mousehandler;
/* Go back */
function goHist(a)
{
history.go(a); // Go back one.
}
// Parameters of the Text Blinker:
//================================
//width
var mswidth=350;
//height
var msheight=30;
//message pause: message in sight!
var mspause=1500; //1000=1s
//blinks speed: message out of sight!
var msspeed=500; // 1000=1s
//background color
var bcolor='#E1E7EA';
//Message blinking: change to your own!
//Within a message you must use \' in lieu of ', should the case be!
var singlemessages='CLEARANCE SALE NOW ON
'
//...
//The Blinker's Algorithm follows:
//================================
var kkk=0;var timer1 = null;var timer2 = null;function startb(){if(document.all){iens6div=ieNS6sliderb;iens6marquee11();}else if(document.layers){ns4layerb=document.ns4sliderb0.document.ns4sliderb1;ns4layerb.visibility='show';ns4marquee11();}else if(document.getElementById){iens6div=document.getElementById('ieNS6sliderb');iens6marquee11(iens6div);}}function iens6marquee11(){iens6div.innerHTML=singlemessages;timer1=setTimeout("iens6marquee12(iens6div.style.top=msheight)",mspause);return;}function iens6marquee12(){timer2=setTimeout("iens6marquee11(iens6div.style.top=0)",msspeed);return;}function ns4marquee11(){ns4layerb.document.write(singlemessages);ns4layerb.document.close();timer1=setTimeout("ns4marquee12(ns4layerb.top=msheight)",mspause);return;}function ns4marquee12(){timer2=setTimeout("ns4marquee11(ns4layerb.top=0)",msspeed);return;}
var message="";
/* Displays text on status line */
function stat_write(yourtext)
{
window.status=yourtext;
}
function supersededwindow( page ) {
window.self.name="polarsite"; // name for main window to able the back links to polar site
options =
"height=550,width=505,resizable=yes,"
+ "screenX=5,screenY=5," // netscape
+ "left=5, top=5," // IE
+ "location=no,scrollbars=yes,menubar=no,"
+ "toolbar=no,titlebar=no,personalbar=no,"
+ "personalbar=no,directories=no,"
+ "fullscreen=no"; // IE only
window.open(page, "Superseded", options);
}