﻿// JScript File
//Hide status bar msg II script- by javascriptkit.com
//Visit JavaScript Kit (http://javascriptkit.com) for script
//Credit must stay intact for use

function hidestatus(){
window.status=''
return true
}

if (document.layers)
document.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT)

document.onmouseover=hidestatus
document.onmouseout=hidestatus
////////////////////////////////////////////////////////////
<!-- Idea by:  Nic Wolfe -->
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

<!-- Begin
function popUp(URL) {

day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=625,height=400,left = 410,top = 335');");
}

function popUpBezel(URL) {

var w = 630, h = 630;
if (document.all || document.layers) {
   w = screen.availWidth;
   h = screen.availHeight;
}
var winl = (screen.width-w)/2;
var wint = (screen.height-h)/2;

var popW = 650, popH = 650;
var leftPos = (w-popW)/2, topPos = (h-popH)/2;


//day = new Date();
//id = day.getTime();

//alert(URL);
//alert(eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=405,height=405,left=" + leftPos + ",top=" + topPos + ");"););
//eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=405,height=405,left=" + leftPos + ",top=" + topPos + ");");
window.open(URL,'popup','width=' + popW + ',height=' + popH + ',top=' + wint + ',left=' + winl);
//window.blur('popup');
}

function popUpBand(URL) {

var w = 745, h = 485;
if (document.all || document.layers) {
   w = screen.availWidth;
   h = screen.availHeight;
}
var winl = (screen.width-w)/2;
var wint = (screen.height-h)/2;

var popW = 765, popH = 505;
var leftPos = (w-popW)/2, topPos = (h-popH)/2;


//day = new Date();
//id = day.getTime();
//alert(URL);
//alert(eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=405,height=405,left=" + leftPos + ",top=" + topPos + ");"););
//eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=405,height=405,left=" + leftPos + ",top=" + topPos + ");");
window.open(URL,'popup2','width=' + popW + ',height=' + popH + ',top=' + wint + ',left=' + winl + ',scrollbars=no,toolbar=no');
//window.blur('popup2');
}

function getImgSize(imgSrc)
{
var newImg = new Image();
newImg.src = imgSrc;
var height = newImg.height;
var width = newImg.width;
alert ('The image size is '+width+'*'+height);
}
// End -->

//<!-- ================================================================================= -->
// JScript File
function elemOn(elem_id){
        if(document.getElementById(elem_id))
            document.getElementById(elem_id).style.display = "block";
    }
    function elemOff(elem_id){
        if(document.getElementById(elem_id))
            document.getElementById(elem_id).style.display = "none";
    }
    function hideAll(){
        //for( var i = 1; i <= 4; i++ )
            //elemOff( 'div'+i );
            document.getElementById("purchase").style.display = "none";
    }
    function showAll(){
        //for( var i = 1; i <= 4; i++ )
            //elemOn( 'div'+i );
            document.getElementById("purchase").style.display = "block";
    }
    function showOne(elem_id){
        hideAll( );
        elemOn( elem_id );
    }
//<!-- ================================================================================= -->

