//------------------------------------------------------------------------------------------------------------
//
//	Global variables.
//	Functions.
//		browserCheck() - object to determine browser
//		findObj(n, d) - finds object named n in document d (optional)
//		launchBrowserSpecificEvent(link,hi,wi,rs,hn,wn) - gencast streaming function
//		mediaKitRequest() - opens a new browser window for the media kit request form
//		preload() - preloads any number of images with paths passed as arguments
//		resizeFix(init) - Netscape 4.0 Resize fix, must be called in <head> of html page as resizeFix(true)
//		selectAll() - selects/deselects all check boxes on the BOS admin form
//		setTarget() - submits form to return email from BOS entry form
//		swap(image, over) - swaps button named image in left nav to mouseover state (over: boolean) if over
//		swapMap(country) - swaps the map to country passed as its argument
//
//------------------------------------------------------------------------------------------------------------




//------------------------------------------------------------------------------------------------------------
// Global Variables
//------------------------------------------------------------------------------------------------------------




//------------------------------------------------------------------------------------------------------------
// Functions
//------------------------------------------------------------------------------------------------------------


function Subscribe(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=400,height=160,left = 200,top = 200');");
}

function popUp2(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=400,height=400,left = 190,top = 110');");
}


function popUpsm(URL) {
day = new Date();
id = day.getTime();
eval("page"+id+"= window.open(URL, '"+id+"', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,height=400');");
}


<!--

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
//-->

<!-- hide from JavaScript-challenged browsers

function openWindow(url) {
  popupWin = window.open(url, 'remote',  'menubar=no,toolbar=no,location=no,directories=no,status=no,scrollbars=yes,resizable=yes,width=450,Height=500,left=200,top=100')
}


// done hiding -->


<!-- Original:  Ramandeep Singh (ramandeepji@yahoo.com) -->
<!-- Web Site:  http://hard-drive.hypermart.net -->

<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

<!-- Begin
var dn;
c1 = new Image(); c1.src = "images/digital-clock/c1.gif";
c2 = new Image(); c2.src = "images/digital-clock/c2.gif";
c3 = new Image(); c3.src = "images/digital-clock/c3.gif";
c4 = new Image(); c4.src = "images/digital-clock/c4.gif";
c5 = new Image(); c5.src = "images/digital-clock/c5.gif";
c6 = new Image(); c6.src = "images/digital-clock/c6.gif";
c7 = new Image(); c7.src = "images/digital-clock/c7.gif";
c8 = new Image(); c8.src = "images/digital-clock/c8.gif";
c9 = new Image(); c9.src = "images/digital-clock/c9.gif";
c0 = new Image(); c0.src = "images/digital-clock/c0.gif";
cb = new Image(); cb.src = "images/digital-clock/cb.gif";
cam = new Image(); cam.src = "images/digital-clock/cam.gif";
cpm = new Image(); cpm.src = "images/digital-clock/cpm.gif";
function extract(h,m,s,type) {
if (!document.images) return;
if (h <= 9) {
document.images.a.src = cb.src;
document.images.b.src = eval("c"+h+".src");
}
else {
document.images.a.src = eval("c"+Math.floor(h/10)+".src");
document.images.b.src = eval("c"+(h%10)+".src");
}
if (m <= 9) {
document.images.d.src = c0.src;
document.images.e.src = eval("c"+m+".src");
}
else {
document.images.d.src = eval("c"+Math.floor(m/10)+".src");
document.images.e.src = eval("c"+(m%10)+".src");
}
if (s <= 9) {
document.g.src = c0.src;
document.images.h.src = eval("c"+s+".src");
}
else {
document.images.g.src = eval("c"+Math.floor(s/10)+".src");
document.images.h.src = eval("c"+(s%10)+".src");
}
if (dn == "AM") document.j.src = cam.src;
else document.images.j.src = cpm.src;
}
function show3() {
if (!document.images)
return;
var Digital = new Date();
var hours = Digital.getHours();
var minutes = Digital.getMinutes();
var seconds = Digital.getSeconds();
dn = "AM";
if ((hours >= 12) && (minutes >= 1) || (hours >= 13)) {
dn = "PM";
hours = hours-12;
}
if (hours == 0)
hours = 12;
extract(hours, minutes, seconds, dn);
setTimeout("show3()", 1000);
}
//  End -->

