<!--
// Error Hadling Function
function err_handle(e)
{
    //window.status =	'Error: ' + e.number + '; ' + e.description;
}

// iframe resize Function
function reSize(framename)
{
	try{
	    var objBody	    =	eval( framename + ".document.body");
	    var objFrame	=	document.all[framename];


	    objFrame.style.height = objBody.scrollHeight + (objBody.offsetHeight - objBody.clientHeight)
	    objFrame.style.width = '100%'	    


	}
	//An error is raised if the IFrame domain != its container's domain
	catch(e)
	{
	    err_handle(e);
	}
}

// iframe initialize Function
function frame_init(framename)
{
    try{
	    
	    parent.reSize(framename);
		if(parent.document.location.href.lastIndexOf("#")==-1){
			parent.document.location.href = parent.document.location.href + '#';
		}
	    
	}
	catch(e)
	{
	    err_handle(e);
	}
}

// iframe link move Function
function link(strURL)
{
	
	
    try{
	    document.all["ifrm"].src = strURL;
	    document.location.href = '#';
	    window.status='';
	}
	catch(e)
	{
	    err_handle(e);
	}
}


function link2(strURL)
{    
	document.all.layer1.style.visibility = "hidden";
	
	document.all["ifrm"].src = strURL;
	document.location.href = '#';
	window.status='';	
}


// View Order Layer
function viewLayer(strURL) {
	
	document.all.layer1.style.visibility = "visible";
	
	link(strURL);
	
}

//-->
