function resize()
{
	//var iframe = document.all.stretch;
	//	iframe.height=document.frames("stretch").document.body.scrollHeight;
}

function calcFrameDimensions()
{
	document.getElementById('the_iframe').style.width=document.body.clientWidth - 225;
}

function change()
{
    //this.className=this.className.replace(" over", "");
}

function spawnWindow(URL,Name,features)
{ 
	window.open(URL,Name,features); 
} 

function noPostBack(sNewFormAction)
{
	document.forms[0].action = sNewFormAction;
	document.forms[0].__VIEWSTATE.name = 'NOVIEWSTATE';
}

//function pausecomp(millis) 
//{
//    date = new Date();
//    var curDate = null;
//
//    do { var curDate = new Date(); } 
//    while(curDate-date < millis);
//}

//startList = function() {
//	if (document.all&&document.getElementById) {
//		navRoot = document.getElementById("nav");
//		for (i=0; i<navRoot.childNodes.length; i++) {
//    		node = navRoot.childNodes[i];
//			if (node.nodeName=="LI") {
//				node.onmouseover=function() {
//					this.className+=" over";
//				}
//				node.onmouseout=function()
//                {
//                    pausecomp(200);
//					this.className=this.className.replace(" over", "");
//                    //setTimeout('change()', 0);
//				}
//			}
//		}
//	}
//}



//window.onload=startList;

function displayBrowse()
{
    var test = File.openDialog("", "", "");
}
