<!--

// ************************************
// **        Global Functions        **
// **        NBa - 01.09.2003        **
// **      Optimized for IE6.0+      **
// **  1st appeared on:              **
// **   http://www.speedohealer.com  **
// ************************************


// document.write('<SPAN class="clickableSpan" oncontextmenu="return false">');

var img_url = "http://www.speedohealer.com/images/"

var g_pic_home = new Array();
    g_pic_home[0] = new Image;
    g_pic_home[0].src = img_url + "icon_home1.gif";
    g_pic_home[1] = new Image;
    g_pic_home[1].src = img_url + "icon_home2.gif";
    g_pic_home[2] = new Image;
    g_pic_home[2].src = img_url + "icon_home3.gif";

function swapHome(i)
{
   document.images["home"].src = g_pic_home[i].src;
}



function open_img(pic_src, title, x, y)
{
   var newWin, msg;

   if ( title == "" )
    title = "GIpro w/ATRE";

   newWin = window.open("","PicWin","toolbar=no,menubar=no,status=no,scrollbars=no,resizable=no,left=0,top=0,width="+x+",height="+y);
   msg  = '<html><head><title>'+title+'</title>';
   msg += '</head><body onBlur="self.close()" topmargin="0" leftmargin="0" marginwidth="0" marginheight="0">';
//   msg += '<SPAN class="clickableSpan" oncontextmenu="return false">';
   msg += '<img border="0" src="'+pic_src+'" galleryimg="no">';
   msg += '</body></html>';
   newWin.document.write(msg);
   newWin.document.close();
}


function open_img_sc(pic_src, title, x, y)
{
   var newWin, msg;

   if ( title == "" )
    title = "GIpro w/ATRE";

   newWin = window.open("","PicWin","toolbar=no,menubar=no,status=no,scrollbars=yes,resizable=yes,left=0,top=0,width="+x+",height="+y);
   msg  = '<html><head><title>'+title+'</title>';
   msg += '</head><body topmargin="0" leftmargin="0" marginwidth="0" marginheight="0">';
   msg += '<img border="0" src="'+pic_src+'" galleryimg="no">';
   msg += '</body></html>';
   newWin.document.write(msg);
   newWin.document.close();
}


function mouseOver( ptr )
{
   ptr.style.borderColor="red";
}


function mouseOut( ptr )
{
   ptr.style.borderColor="black";
}

//-->
