<!--
// Start Video Page
function Video(ID)
{
    winWidth = 550;
    winHeight = 450;

    strInfo = "/video.php?id="+ID+""
    fileWin = window.open(strInfo,'fileWin','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,width=' + winWidth +',height=' + winHeight+');');
}
// End Video Page

// Start Slide Show Page
function Slide(ID)
{
    winWidth = 500;
    winHeight = 425;

    strInfo = "/slideshow.php?id="+ID+""
    fileWin = window.open(strInfo,'fileWin','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,width=' + winWidth +',height=' + winHeight+');');
}
// End Slide Show Page

// Start Print Page
function Print(RecID)
{
    winWidth = 700;
    winHeight = 575;

    strInfo = "/print.php?id="+RecID+""
    fileWin = window.open(strInfo,'fileWin','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,width=' + winWidth +',height=' + winHeight+');');
}
// End Print Page

// Start Recommend Page
function Recommend(url)
{
    winWidth = 600;
    winHeight = 500;

    strInfo = "/recommend.php?id=" + url+""
    fileWin = window.open(strInfo,'fileWin','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,width=' + winWidth +',height=' + winHeight+');');
}
// End Recommend Page

// Start Disable Select Text
//form tags to omit in NS6+:
var omitformtags=["input", "textarea", "select"]

omitformtags=omitformtags.join("|")

function disableselect(e){
if (omitformtags.indexOf(e.target.tagName.toLowerCase())==-1)
return false
}

function reEnable(){
return true
}

if (typeof document.onselectstart!="undefined")
document.onselectstart=new Function ("return false")
else{
document.onmousedown=disableselect
document.onmouseup=reEnable
}
// End Disable Select Text

// Start Disable Right Click
var message="";
///////////////////////////////////
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers)
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}

document.oncontextmenu=new Function("return false")
// End Disable Right Click

// Start Image Effect
            function fade(el, up)
            {
                var interval    = 70;
                var s           = el.style;
               
                if(typeof el.fadeKillID == "number")
                {
                    clearTimeout(el.fadeKillID);
                    el.fadeKillID = null;
                }
               
                var goAgain = true;
               
                // Mozilla
                if(typeof s.MozOpacity == "string")
                {
                    if(up && s.MozOpacity < .9)
                        s.MozOpacity    = parseFloat(s.MozOpacity) + 0.2;
                    else if(!up && s.MozOpacity > .7)
                        s.MozOpacity    = parseFloat(s.MozOpacity) - 0.1;
                    else
                        goAgain = false;
                } //IE
                else if(typeof el.filters == "object")
                {
                    var a = el.filters.alpha;
                    if(up && a.opacity < 90)
                        a.opacity   += 20;
                    else if(!up && a.opacity > 70)
                        a.opacity   -= 10;
                    else
                        goAgain = false;
                }
               
                if(goAgain)
                    el.fadeKillID = setTimeout(function(){fade(el,up);},interval);
            }
// End Image Effect

function jump(URL) {
  window.location = URL;
}

//-->
