function MovieWindow(movieName){
	var page_content = 
		'<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"\n' +
		'"http://www.w3.org/TR/html4/loose.dtd">\n' +
		'<html>\n' +
		'<head>\n' +
		'<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">\n' +
		'<title>Multimedia</title>\n' +
		'</head>\n' +
		'<body bgcolor="#FFFFFF">\n' +
		'<TABLE WIDTH=524 CELLPADDING=0 CELLSPACING=0 bgcolor="#FFFFFF">\n' +
			'<TR>\n' +
				'<TD align="left">\n' +
					'<a href="http://www2.dupont.com/Surfaces/en_US"><img src="http://www2.dupont.com/Surfaces/en_US/assets/images/corian_zodiaq_logo.jpg" border="0" /></a></TD>\n' +
				'<TD align="right">\n' +
					'<a href="javascript:window.close()"><img src="http://www2.dupont.com/Surfaces/en_US/assets/images/closewin.jpg" height="28" width="100" border="0"></a></TD>\n' +
			'</TR>\n' +
			'<TR>\n' +
				'<TD COLSPAN=2 align="center" valign="middle">\n' +
					  '<OBJECT id="mediaPlayer" width="509" height="433" \n' +
					  'classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95"\n' + 
					  'codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701"\n' +
					  'standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject">\n' +
					  '<param name="fileName" value="/Surfaces/en_US/assets/multimedia/' + movieName +'.wmv">\n' +
					  '<param name="animationatStart" value="true">\n' +
					  '<param name="transparentatStart" value="true">\n' +
					  '<param name="autoStart" value="true">\n' +
					  '<param name="showControls" value="true">\n' +
					  '<param name="loop" value="true">\n' +
					  '<EMBED type="application/x-mplayer2"\n' +
						'pluginspage="http://microsoft.com/windows/mediaplayer/en/download/"\n' +
						'id="mediaPlayer" name="mediaPlayer" displaysize="4" autosize="-1" \n' +
						'bgcolor="darkblue" showcontrols="true" showtracker="-1"\n' + 
						'showdisplay="0" showstatusbar="-1" videoborder3d="-1" width="509" height="433"\n' +
						'src="/Surfaces/en_US/assets/multimedia/' + movieName +'.wmv" autostart="true" designtimesp="5311" loop="true">\n' +
					  '</EMBED>\n' +
					'</OBJECT>\n' +
				'</TD>\n' +
			'</TR>\n' +
		'</TABLE>\n' +
		'</body>\n' +
		'</html>\n';

	var NewWindow;
	var winHeight = 570;
	var winWidth = 550;
	var winTop = (screen.height / 2) - 500;
	var winLeft = (screen.width / 2) - 350;
	var windowFeatures = "toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=no,resizable=no,width=" + winWidth + ",height=" + winHeight + ",alwaysRaised=yes,left=" + winLeft + ",top=" + winTop;
	newWindow = window.open('','',windowFeatures);
	newWindow.document.write(page_content);
    newWindow.document.close();
}


function CreateWindow(imgHeight, imgWidth, sinkModel, imgName){
	var table_width = imgWidth + 15;
	var page_content = 
	'<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"\n' +
	'"http://www.w3.org/TR/html4/loose.dtd">\n' +
	'<html>\n' +
	'<head>\n' +
	'<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">\n' +
	'<title>' + sinkModel +'</title>\n' +
	'</head>\n' +
	'<body>\n' +
	'<table width="' + table_width + '">\n' +
	'<tr>\n' +
	'	<td>\n' +
	'	<img src="http://www2.dupont.com/assets/images/spacer.gif" height = "1" width="10">\n' +
	'	</td>\n' +
	'	<td>\n' +
	'	<img src="http://www2.dupont.com/Surfaces/en_US/assets/images/products/'+ imgName +'" height="' + imgHeight + '" width="' + imgWidth + '" border="0">\n' +
	'	</td>\n' +
	'</tr>\n' +
	'<tr>\n' +
	'	<td colspan="2" align="right">\n' +
	'	<a href="javascript:window.close()"><img src="http://www2.dupont.com/Surfaces/en_US/assets/images/closewin.jpg" height="28" width="100" border="0"></a>\n' +
	'	</td>\n' +
	'</tr>\n' +
	'</table>\n' +
	'</body>\n' +
	'</html>\n';
	var NewWindow;
	var winHeight = imgHeight + 70;
	var winWidth = imgWidth + 50;
	var winTop = (screen.height / 2) - 500;
	var winLeft = (screen.width / 2) - 350;
	var windowFeatures = "toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=no,resizable=no,width=" + winWidth + ",height=" + winHeight + ",alwaysRaised=yes,left=" + winLeft + ",top=" + winTop;
	newWindow = window.open('','',windowFeatures);
	newWindow.document.write(page_content);
    newWindow.document.close();
}


function QuicktimeMovieWindow(the_movie, the_width, the_height){
	var the_content = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"\n' +
	'"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n' +
	'<html xmlns="http://www.w3.org/1999/xhtml">\n' +
	'<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" />\n' +
	'<title>DuPont Surfaces - Video</title>\n' +
	'</head>\n' +
	'<body>\n' +
	'<table width="' + the_width + '" height="80"><tr>\n' +
	'<td width="50%" align="left">\n' +
	'<img src="http://www2.dupont.com/Surfaces/en_US/assets/images/corian_zodiaq_logo.jpg" />\n' +
	'</td>\n' +
	'<td width="50%" align="right">\n' +
	'<a href="javascript:window.close()"><img src=\n' +
	'"http://www2.dupont.com/Surfaces/en_US/assets/images/closewin.jpg"\n' + 
	'height="28" width="100" border="0"></a></td></tr></table>\n' +
	'<object CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" \n' + 
	'width="' + the_width + '" height="' + the_height + '" \n' +
	'CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab">\n' +
	'<param name="src" value="/Surfaces/en_US/assets/multimedia/' + the_movie + '.mov">\n' +
	'<param name="qtsrc" value="/Surfaces/en_US/assets/multimedia/' + the_movie + '.mov">\n' +
	'<param name="autoplay" value="true">\n' +
	'<param name="loop" value="false">\n' +
	'<param name="controller" value="true">\n' +
	'<embed src="/Surfaces/en_US/assets/multimedia/' + the_movie + '.mov"\n' + 
	'qtsrc="/Surfaces/en_US/assets/multimedia/' + the_movie + '.mov"\n' + 
	'width="' + the_width + '" height="' + the_height + '" autoplay="true" loop="false" \n' +
	'controller="true" pluginspage="http://www.apple.com/quicktime/">\n' +
	'</embed>\n' +
	'</object>\n' +
	'</body>\n' +
	'</html>\n';
	var NewWindow;
	var winHeight = the_height + 100;
	var winWidth = the_width + 50;
	var winTop = (screen.height / 2) - 500;
	var winLeft = (screen.width / 2) - 350;
	var windowFeatures = "toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=no,resizable=no,width=" + winWidth + ",height=" + winHeight + ",alwaysRaised=yes,left=" + winLeft + ",top=" + winTop;
	newWindow = window.open('','',windowFeatures);
	newWindow.document.write(the_content);
    newWindow.document.close();
}