// JavaScript Document
function iframe() {
	var  myHeight = 0;
	obj = document.getElementById('tab');
	myHeight = obj.clientHeight
	parent.adjustIFrameSize(window, myHeight);
	parent.scrollTo(0,0);
}
//parent.document.all.if1.style.height = document.body.scrollHeight

function cIf (doc){
	document.getElementById("iframe").src = doc;
}
function adjustIFrameSize (iframeWindow, sizeX){
	if (sizeX){
		var iframeElement = parent.document.getElementById(iframeWindow.name);
		iframeElement.style.height = sizeX + 10 +'px';
	  }else if (document.all) {
		var iframeElement = parent.document.all[iframeWindow.name];
		if (iframeWindow.document.compatMode && iframeWindow.document.compatMode != 'BackCompat'){
		  iframeElement.style.height = iframeWindow.document.documentElement.scrollHeight + 100 + 'px';
		}else{
		  iframeElement.style.height = iframeWindow.document.body.scrollHeight + 100 + 'px';
		}
	  }
}
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}