function changeImg(newVar) {
	defaultMc.setVariable("openContent", newVar);
}
function loginAction(mb_id) {
	defaultMc.setVariable("mb_id", mb_id);
}

function iframeFn (vsl, iLeft, iTop, iWidth, iHeigth) {
//alert(iLeft+"    "+ iTop);
	document.all.contentView.style.display=vsl;
	document.all.contentView.style.marginLeft=iLeft;
	document.all.contentView.style.marginTop=iTop;
	document.all.contentView.style.width=iWidth;
	document.all.contentView.style.height=iHeigth;
	if (vsl == "none") {
		contentView.location.href = "blank.asp";
	}
}

function iframeLnk (args) {
	contentView.location.href = args;
}


function windowBody()
{
	wbwidth = document.body.clientWidth;
	wbheight = document.body.clientHeight;
	
	if(wbwidth <= 980) {
		wbwidth = 980;
	}
	if(wbheight <= 680) 	{
		wbheight = 680;
	}
	document.getElementById('defaultMc').style.width = wbwidth;
	document.getElementById('defaultMc').style.height = wbheight;
}


