
function newAspect() {
	pageW = pageWidth();
	pageH = pageHeight();
	aspectR = 1100/700;
	actH = pageWidth()* 1/aspectR;
	actW = pageHeight() * aspectR;
	//document.write ("<P>Calculated width= " + actW);
	//document.write ("<P>Calculated height= " + actH);
	if (actH > pageH) {
		myH = actW * 1/aspectR;
		myW = actW;
		//myY = (actH - myH)/2; // vertical centre required.
		//document.write("<P>Resultant W = " + actW + " H = " + myH);
	} else {
		myW = actH * aspectR;
		myH = actH;
		//myX = (actW - myW)/2; // horizontal centre required.
		//document.write("<P>Resultant W = " + myW + " H = " + actH);
	}
	putFlash(myW,myH) ; // putFlash is defined in the main (calling) page.
}