var d = document;  

//preloads images
function preLoader() { 
var imgs = new Array(); 
if (d.images) { 
for (var i=0;i< preLoader.arguments.length;i++) { 
imgs[i] = new Image();
imgs[i].src = preLoader.arguments[i]; 
}}}

//rollover function
function swapImg(name,img) {
if(d.images) {
 document[name].src = img;
}}

function WinPop1(theURL,winName,features) { 
var features="status=yes,height=630,width=530,scrollbars=no,toolbar=no,resizable=no"
var new_win = window.open(theURL,winName,features);
new_win.focus();
}
function WinPop2(theURL,winName,features) { 
var features="status=yes,height=630,width=290,scrollbars=no,toolbar=no,resizable=no"
var new_win = window.open(theURL,winName,features);
new_win.focus();
}
function WinPop3(theURL,winName,features) { 
var features="status=yes,height=630,width=800,scrollbars=no,toolbar=no,resizable=no"
var new_win = window.open(theURL,winName,features);
new_win.focus();
}
function closeWin() {
window.close();
}
// netscape 4 css fix
function nn4CssFix(resize) {  
if (resize == 1) with (navigator) {
if ((appName == "Netscape") && (parseInt(appVersion) == 4)) {
orig_width = innerWidth; 
orig_height = innerHeight; 
onresize = nn4CssFix; 
}}
else if (innerWidth != orig_width || innerHeight != orig_height) location.reload();
}
nn4CssFix(1);