<!-- hide from old browsers
//---- You need to update your browser  ----//
// copyright HuntSpace 2004
// source=blank html : file=image filename : ih=image height : iw=image width
// coment=comments placed on page
var se=document.referrer;
if(se==""){location.href="http://www.ausdomain.net";}
var sw=1;
//var num=0;
var firstime=true;
if(document.getElementById){
    var stdbrowser=true;
}else{
    var stdbrowser=false;
}
function openWin(file,ih,iw,comment){
    var que=eval("'hs_image.php?display='+file+'|'+comment");
  newWin = window.open(que,"popup1",'"coolbar=no,toolbar=no,menubar=no,scrollbars=yes,resizable=yes,height="+ih+",width="+iw+",top=10,left=0"');
  newWin.resizeTo(iw,ih);
  newWin.moveTo(10,10);
}
function openXML(file,comment){
  var que=eval("'newsfeed.php?xmlfeed='+file+'|'+comment");
  newWin = window.open(que,"popup1",'"coolbar=no,toolbar=no,menubar=no,scrollbars=yes,resizable=yes,height=750,width=550,top=10,left=0"');

}
function openNew(source){
  newWin = window.open(source);

}
function tabOn(id){
    if(id){
    tabOff('a1');
    tabOff('a2');
    tabOff('a3');
    tabOff('a4');
    tabOff('a5');
    tabOff('a6');
    tabOff('a7');
    document.getElementById(id).style.backgroundImage ='url(./images/tabon.gif)';
    }
}
function tabOff(tab){
    document.getElementById(tab).style.backgroundImage ='url(./images/taboff.gif)';
}
function switchScreen(tab,file,iw,ih){      //  alert(tab);
    if(!iw&&!ih){
        var iw=Math.round(parent.screen.width*.66);
        var ih=Math.round(parent.screen.height*.66);
    }
    var que=tab+"~"+file+"~"+iw+"~"+ih;
  if (navigator.appName.indexOf ("Microsoft") !=-1) {
        var iw=550;
        var ih=420;
    parent.load_file.location.href="./popup_video.php?showing="+tab+"~"+file+"~"+iw+"~"+ih;
  } else {
    newWin = window.open("./popup_video.php?showing="+tab+"~"+file+"~"+iw+"~"+ih,"popup1","left=0,top=0,width="+iw+",height="+ih+",statusbar=0,coolbar=0,toolbar=0,menubar=0,scrollbars=1,resizable=1");
    newWin.resizeTo(iw,ih+100);
    newWin.moveTo(0,0);
  }
}
function checkCount(myform){
  if (navigator.appName.indexOf ("Microsoft") !=-1) {
    var num=myform.count.value;
  } else {
    var num=myform.count.value;
  }
  if (num>=4){
    alert("You have had 3 tries please contact www.ausdomain.net for further help to retrieve your password.");
    window.location="./video.php?cat=general|a1|0";
  }
}
function loadtoo(myindex,ww,wh) {

parent.popup.location.href=(myindex);
if(firstime){
    if(stdbrowser){
        windowObj=document.getElementById("cont").style;
        minamizerObj=document.getElementById("mini").style;
        popupObj=document.getElementById("pop").style;
    }
    firstime=false;
}
if(stdbrowser){
    windowObj.height=wh;
    windowObj.width=ww;
    popupObj.height=wh;
    popupObj.width=ww;
    windowObj.visibility="visible";
    maxamize(myindex);
}else{
    cont.style.height=wh;
    cont.style.width=ww;
    pop.style.height=wh;
    pop.style.width=ww;
    cont.style.visibility="visible";
    maxamize(myindex);
}
}
function winclose(mywindow){
  if(navigator.appName.indexOf ("Microsoft") !=-1){
    parent.history.back();
  }else{
    window.close();
  }
}
function wclose(mywindow){
if(stdbrowser){
    parent.windowObj.visibility="hidden";
}else{
    parent.cont.style.visibility="hidden";
}
}
function mclose(mywindow){
if(stdbrowser){
    minamizerObj.visibility="hidden";
}else{
    mini.style.visibility="hidden";
}
}
function minimize(mywindow){
if(stdbrowser){
    parent.windowObj.visibility="hidden";
    parent.minamizerObj.visibility="visible";
}else{
    parent.cont.style.visibility="hidden";
    parent.mini.style.visibility="visible";
}
if(!navigator.appName.indexOf("Microsoft")){
    parent.minamizerObj.top=parent.screen.height-280;
}else{
    parent.minamizerObj.top=parent.innerHeight-27;
}
}
function maxamize(mywindow){
if(stdbrowser){
    parent.windowObj.visibility="visible";
    parent.minamizerObj.visibility="hidden";
}else{
    parent.cont.style.visibility="visible";
    parent.mini.style.visibility="hidden";
}
}
function init() {
    document.onmousemove = showMousePos;
};
function stopinit(){
    document.onmousemove = null;
}

function CheckFieldLength(fn,wn,rn,mc) {
  var len = fn.value.length;
  if (len > mc) {
    fn.value = fn.value.substring(0,mc);
    len = mc;
  }
  document.getElementById(wn).innerHTML = "char: "+len+" - max: "+mc;
  //document.getElementById(rn).innerHTML = mc - len;
}
function logout(where,from){
    if(confirm(from+" do you want to log out of your account?")){
        location.href=where;
    }
    return;

}
// stop hiding -->








