function setFlashHeight(newH, doIt){
	var h = newH;
	var divid ='flashcontent';
	tempDoc =  window.innerHeight;
	if (tempDoc==null){
		tempDoc = (document.body.clientHeight);
  	}

	if (doIt=="1"){
	//alert ("mac");
	} else {
	  	if (newH < tempDoc) {
			newH= tempDoc+1;
		}
	}
document.getElementById(divid).style.height = newH +"px";
document.getElementById("molinare_swf").style.height = newH +"px";
//window.document.getElementById('molinare_swf').SetVariable( "drawFooter", newH );
//window.document.getElementById('molinare_swf').SetVariable( "drawFooterKeep", newH );

}


window.defaultStatus = "Molinare"
function openBeam(beamAddress) {
	window.open(beamAddress, "reWin", 'resizable=yes,scrollbars=no,menubar=no,location=no,toolbar=no,status=yes,width=600,height=500')
}
function openSub(backCol,contrastCol) {
tempWindow="newsletter.php?backCol=" +backCol +"&contrastCol=" + contrastCol
	window.open(tempWindow, "openSub", 'resizable=yes,scrollbars=yes,menubar=no,location=no,toolbar=no,status=yes,width=260,height=520')
}

function setFlashWidth(divid, newW){
	document.getElementById(divid).style.width = newW+"px";
}

function scrollTopAgain(){
	scrollTo(0,0);
}
function printEasy(articleNumber){
	var printAddress= ('printable.php?A=' + articleNumber);
	window.open(printAddress, "printable", 'resizable=yes,scrollbars=yes,menubar=yes,location=no,toolbar=no,width=540,height=500')
}

