// JavaScript Document
function resizeIframe(obj) {
	var Iframe = document.getElementById(obj);
	if (Iframe) {
		if (Iframe.contentDocument) {//ff
			Iframe.style.height = Iframe.contentDocument.body.scrollHeight + 1 + "px";
		} else {
			if (Iframe.document && Iframe.document.body.scrollHeight) {//ie
				  //var str="Iframe.style.height =framebottom.document.body.scrollHeight +8 + 'px'";
				  //Eval(str);
				switch (obj) {
				  case "framehead":
					Iframe.style.height = framehead.document.body.scrollHeight + 6 + "px";
					break;
				  case "framebottom":
					Iframe.style.height = framebottom.document.body.scrollHeight + 0 + "px";
					break;
				  case "framelinkword":
					Iframe.style.height = framelinkword.document.body.scrollHeight + 6 + "px";
					break;
				  case "framerights":
					Iframe.style.height = framerights.document.body.scrollHeight + 6 + "px";
					break;
				}
			}
		}
	}
}
function iframfoward(obj) {
	var ifram = document.getElementById("framenavigate");
	ifram.src = "itemNavigateUI.action?code=" + obj;
}


