
<!--

// RESIZE POPUP WHEN COMING FROM DISNEY PICTURES HOMEPAGE
// DOCTYPE NEEDS TO BE HTML FOR THIS TO WORK
function resizeMe() {
	if (window.innerWidth){popWidth = window.innerWidth;popHeight = window.innerHeight;}else{popWidth = document.body.clientWidth;popHeight =document.body.clientHeight;}
	popWidth = 700 - popWidth;popHeight = 510 - popHeight;window.resizeBy(popWidth, popHeight);
};
function embedQuicktime(movieAddress, width, height)
{

    //remember to add 16 vertical pixels for the nav bar
    document.write('<OBJECT CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" WIDTH="'+width+'" HEIGHT="'+height+'" CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab#version=6,0,2,0">');
    document.write('<PARAM NAME="controller" VALUE="TRUE">');
    document.write('<PARAM NAME="type" VALUE="video/quicktime">');
    document.write('<PARAM NAME="autoplay" VALUE="true">');
    document.write('<PARAM NAME="target" VALUE="myself">');
    document.write('<PARAM NAME="src" VALUE="'+movieAddress+'">');
    document.write('<PARAM NAME="pluginspage" VALUE="http://www.apple.com/quicktime/download/indext.html">');
    document.write('<EMBED WIDTH="'+width+'" HEIGHT="'+height+'" CONTROLLER="TRUE" TARGET="myself" SRC="'+movieAddress+'" type="video/quicktime" BGCOLOR="#000000" BORDER="0" PLUGINSPAGE="http://www.apple.com/quicktime/download/indext.html"></EMBED>');
    document.write('</OBJECT>');
	var Joe = document.getElementById("clip_title");
	Joe.innerHTML=clip_title;
	
}

function mypopup(size)
{
	if(size == "small"){
		url="clips_small.html";
		my_height=527;
		my_width=901;
	}
	else if (size=="medium"){
		url="clips_medium.html";
		my_height=708;
		my_width=1351;
	}
	else if (size == "large"){
		url="clips_large.html";
		my_height=1000;
		my_width=2000;
	}
   	mywindow = window.open (url,
  	"mywindow","height=my_height, width=my_width"
  	);
  	mywindow.moveTo(0,0);
}
//-->
