<!--
var startly=true;
function Layer_View(ly) {
	if (startly) {
	    if (ly=="1") {
	        lnum="2"
	    }
		else
		{
			lnum="1"
		}
	}
	if (ly != lnum) {
		document.all["PhotoLayer" +ly].style.display="block";
		document.all["PhotoLayer" + lnum].style.display="none";		
		lnum=ly;
	}
	startly = false;   
}
var startly2=true;
function Layer_View2(ly) {
	if (startly2) {
	    if (ly=="1") {
	        lnum="2"
	    }
		else
		{
			lnum="1"
		}
	}
	if (ly != lnum) {
		document.all["View_Ly" +ly].style.display="block";
		document.all["View_Ly" + lnum].style.display="none";		
		lnum=ly;
	}
	startly2 = false;   
}

var dragapproved=false
var minrestore=0
var initialwidth,initialheight
var ie5=document.all&&document.getElementById
var ns6=document.getElementById&&!document.all

function iecompattest(){
    return (!window.opera && document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}


function loadwindow(url,width,height){
    if (!ie5&&!ns6)
        window.open(url,"","width=width,height=height,scrollbars=1")
    else{
        document.getElementById("dwindow").style.display=''
        document.getElementById("dwindow").style.width=initialwidth=width+"px"
        document.getElementById("dwindow").style.height=initialheight=height+"px"
        document.getElementById("dwindow").style.left="30px"
        document.getElementById("dwindow").style.top=ns6? window.pageYOffset*1+30+"px" : iecompattest().scrollTop*1+30+"px"
        document.getElementById("cframe").src=url
    }
}

function closeit(){
    document.getElementById("dwindow").style.display="none"
}


function closeityear(){
	location.reload();
    document.getElementById("dwindow").style.display="none"
}
function closeitmonth(gno,mno){
	location.href="/Hellodd_Schedule/Schedule_UserMonth.asp?gno="+gno+"&mno="+mno;
    document.getElementById("dwindow").style.display="none"
}

//-->
