// iframe size change and url change
function urlLink(strURL)
{
	document.all["targetFrame"].src = strURL;
}

// iframe urlLink move without resize Function
function urlLink2(strURL)
{
	document.all["targetFrame"].src = strURL;
	document.all["targetFrame"].onresize = "";
}

// iframe size change
function changeHeight()
{
	var objBody	    =	targetFrame.document.body;
	var objFrame	=	document.all["targetFrame"];

	objFrame.style.height = objBody.scrollHeight + (objBody.offsetHeight - objBody.clientHeight)
	objFrame.style.width  = objBody.scrollWidth + (objBody.offsetWidth - objBody.clientWidth)
}

// iframe starting function
function init()
{
	parent.changeHeight();
}

// iframe size change
function changeHeight2()
{
	var objBody	    =	imgFrame.document.body;
	var objFrame	=	document.all["imgFrame"];

	objFrame.style.height = objBody.scrollHeight + (objBody.offsetHeight - objBody.clientHeight)
	objFrame.style.width  = objBody.scrollWidth + (objBody.offsetWidth - objBody.clientWidth)
}

// iframe starting function
function init2()
{
	parent.changeHeight2();
}
