﻿// JScript File
function edu( url ) 
{
	window.open( url , 'mywindow','width=850,height=650,scrollbars=yes');
} 
function CallFlashFile(path,name,spec,title,flashWidth,flashHeight,flashBgColour,windowBgColour)
{
  var openurl='/motion/Templates/OpenFlash.aspx?path='+path+'&pageTitle='+title+'&flashWidth='+flashWidth+'&flashHeight='+flashHeight+'&flashBgColour='+flashBgColour+'&WindowBgColour='+windowBgColour;
  windowpop=window.open(openurl,name,spec);
 }

function ReloadFlash(path, flashWidth, flashHeight, title)
{
  var openurl='/motion/Templates/OpenFlash.aspx?path='+path+'&flashWidth='+flashWidth+'&flashHeight='+flashHeight+'&pageTitle='+title;
  window.location.href = openurl;
}

// JScript File
function popup(myGraph){
	var prodPrefix= "5212_";
	var img = "/motion/uploadedimages/global_images_en_motion_products_negative_5212_"+myGraph+".gif";
	var options = "toolbar=no,scrollbars=yes,resizable=yes,width=800,height=600";
	var mainTitle="KODAK: Camera Films: Color Negative Films: KODAK VISION2 100T 5212/7212";
	var popTitle = getTitle(myGraph);
	x = open('', 'displayWindow', options);
	x.document.open();
	x.document.writeln('<html><head><title>'+mainTitle+"-"+popTitle+'</title><style>body{font-family:Verdana,Arial,Helvetica,sans-serif;font-size:10px;}</style>');
	x.document.writeln('</head><body bgcolor="#ffffff" text="#000000"><center><img src=');
	x.document.writeln(img);
	x.document.writeln ('alt="'+popTitle+'" border="0"><br><br>');
	x.document.writeln('</body></html>');
}
//modified function popup
//for vision 2 tech data
function popup_Neg(myGraph,Product_No){
	var prodPrefix= Product_No+"_";
	var img = "/motion/uploadedImages/global_images_en_motion_products_negative_"+prodPrefix+myGraph+".gif";
	var options = "toolbar=no,scrollbars=yes,resizable=yes,width=800,height=600";
	var mainTitle="KODAK: Camera Films: Color Negative Films: KODAK VISION2 100T "+ Product_No;
	var popTitle = getTitle(myGraph);
	x = open('', 'displayWindow', options);
	x.document.open();
	x.document.writeln('<html><head><title>'+mainTitle+"-"+popTitle+'</title><style>body{font-family:Verdana,Arial,Helvetica,sans-serif;font-size:10px;}</style>');
	x.document.writeln('</head><body bgcolor="#ffffff" text="#000000"><center><img src=');
	x.document.writeln(img);
	x.document.writeln ('alt="'+popTitle+'" border="0"><br><br>');
	x.document.writeln('</body></html>');
}
//for vision 3 tech data
function popup_V3(myGraph){
	//var prodPrefix= "5212_";
	var img = "/motion/uploadedImages/US_images_en_motion_products_v3_5219_5219_"+myGraph+".gif";
	var options = "toolbar=no,scrollbars=yes,resizable=yes,width=600,height=500,top=100,left=100";
	var mainTitle="KODAK: Camera Films: Color Negative Films: KODAK VISION3 500T 5219/7219";
	var popTitle = getTitle(myGraph);
	x = open('', 'displayWindow', options);
	x.document.open();
	x.document.writeln('<html><head><title>'+mainTitle+"-"+popTitle+'</title><style>body{font-family:Verdana,Arial,Helvetica,sans-serif;font-size:10px;}</style>');
	x.document.writeln('</head><body bgcolor="#ffffff" text="#000000"><center><img src=');
	x.document.writeln(img);
	x.document.writeln ('alt="'+popTitle+'" border="0"><br><br>');
	x.document.writeln('</body></html>');
}

function getTitle (myGraph){
var img = myGraph;
	switch(img)
	{
		case("char"):return("Characteristic Curve");break;
		case("mtf"):return("MTF");break;
		case("rms"):return("rms Granularity");break;
		case("ss"):return("Spectral Sensitivity");break;
		case("sdd"):return("Spectral Dye Density");break;
		case("char2"):return("Characteristec-Camera Stops");break;
		default: return ("");break;
	}
}
function popup1() {
var options = "toolbar=no,scrollbars=no,resizable=no,width=500,height=510";
x = open('', 'displayWindow', options);
x.document.open();x.document.writeln('<html><head><title>Characteristic Curves 2378E, 3378E EXR Sound Recording Film</title></head>');
x.document.writeln('<body bgcolor="#000000" text="#ffffff">');
x.document.writeln('<table align="center" border="0" cellpadding="0" cellspacing="0">');
x.document.writeln('<tr><td align="center">');
x.document.writeln('<br><img src="/motion/uploadedimages/global_images_en_motion_products_lab_ti2292b.gif" align="center" width=460 height=320>');
x.document.writeln('</td></tr><tr><td align="center" style="font-family: Arial; font-size:10pt">');
x.document.writeln('<br><p align="left">Tungsten (2850K) plus KODAK Heat Absorbing Glass, NO. 2043, 1/1000 sec; KODAK Developer D-97, 4 min, 75°F (24°C); Diffuse visual</p>');
x.document.writeln('<br><form><center><input type=button value="Close" onClick="window.close()"></center></form>');
x.document.writeln('</td></tr></table>');
x.document.writeln('</body></html>');
}
//char2
//Simulated for Green LED Exposure<br>Tungsten (2850K) plus KODAK Heat Absorbing Glass, NO. 2043, 580BP Filter, 100 microseconds; KODAK Developer D-97, 4 min, 75°F (24°C); Diffuse visual
function popup1b() {
var options = "toolbar=no,scrollbars=no,resizable=no,width=500,height=550";
x = open('', 'displayWindow', options);
x.document.open();x.document.writeln('<html><head><title>Characteristic Curves 2378E, 3378E EXR Sound Recording Film</title></head>');
x.document.writeln('<body bgcolor="#000000" text="#ffffff">');
x.document.writeln('<table align="center" border="0" cellpadding="0" cellspacing="0">');
x.document.writeln('<tr><td align="center">');
x.document.writeln('<br><img src="/motion/uploadedimages/global_images_en_motion_products_lab_ti2292c.gif" align="center" width=460 height=320>');
x.document.writeln('</td></tr><tr><td align="center" style="font-family: Arial; font-size:10pt">');
x.document.writeln('<br><br><p align="left">Simulated for Green LED Exposure<br>Tungsten (2850K) plus KODAK Heat Absorbing Glass, NO. 2043, 580BP Filter, 100 microseconds; KODAK Developer D-97, 4 min, 75°F (24°C); Diffuse visual</p>');
x.document.writeln('<br><form><center><input type=button value="Close" onClick="window.close()"></center></form>');
x.document.writeln('</td></tr></table>');
x.document.writeln('</body></html>');
}
//MTF

function popup2() {
var options = "toolbar=no,scrollbars=no,resizable=no,width=500,height=510";
x = open('', 'displayWindow', options);
x.document.open();
x.document.writeln('<html><head><title>MTF Curves 2378E, 3378E EXR Sound Recording Film</title></head>');
x.document.writeln('<body bgcolor="#000000" text="#ffffff">');
x.document.writeln('<table align="center" border="0" cellpadding="0" cellspacing="0">');
x.document.writeln('<tr><td align="center">');
x.document.writeln('<br><img src="/motion/uploadedimages/global_images_en_motion_products_lab_ti2292a.gif" align="center" width=460 height=320>');
x.document.writeln('</td></tr><tr><td align="center" style="font-family: Arial; font-size:10pt">');
x.document.writeln('<br><br><p align="left">Tungsten; KODAK Developer D-97; Diffuse visual</p>');
x.document.writeln('<br><form><center><input type=button value="Close" onClick="window.close()"></center></form>');
x.document.writeln('</td></tr></table>');
x.document.writeln('</body></html>');
}
//Spec Sens
function popup4() {
var options = "toolbar=no,scrollbars=no,resizable=no,width=400,height=640";
x = open('', 'displayWindow', options);
x.document.open();
x.document.writeln('<html><head><title>Spectral Sensitivity Curves 2378E, 3378E EXR Sound Recording Film</title></head>');
x.document.writeln('<body bgcolor="#000000" text="#ffffff">');
x.document.writeln('<table align="center" border="0" cellpadding="0" cellspacing="0">');
x.document.writeln('<tr><td align="center">');
x.document.writeln('<br><img src="/motion/uploadedimages/global_images_en_motion_products_lab_ti2292d.gif" align="center" width=360 height=401>');
x.document.writeln('</td></tr><tr><td align="center" style="font-family: Arial; font-size:10pt">');
x.document.writeln('<br><br>*Sensitivity = reciprocal of exposure (ergs/cm²)<br>required to produce specified density');
x.document.writeln('<br><br><p align="left">Effective exp. 1.4 sec; KODAK Developer D-97; Diffuse visual</p>');
x.document.writeln('<br><form><center><input type=button value="Close" onClick="window.close()"></center></form>');
x.document.writeln('</td></tr></table>');
x.document.writeln('</body></html>');
}
function popup1c() {
var options = "toolbar=no,scrollbars=no,resizable=no,width=500,height=550";
x = open('', 'displayWindow', options);
x.document.open();x.document.writeln('<html><head><title>Characteristic Curve 2374 Panchromatic Sound Recording Film</title></head>');
x.document.writeln('<body bgcolor="#000000" text="#ffffff">');
x.document.writeln('<table align="center" border="0" cellpadding="0" cellspacing="0">');
x.document.writeln('<tr><td align="center">');
x.document.writeln('<br><img src="/motion/uploadedimages/global_images_en_motion_products_lab_ti2292c.gif" align="center" width=460 height=320>');
x.document.writeln('</td></tr><tr><td align="center" style="font-family: Arial; font-size:10pt">');
x.document.writeln('<p align="left"><br>Tungsten (2850K) plus KODAK Heat Absorbing Glass, No. 2043, 1/1000sec.<br>KODAK Developer D-97, 4 min, 75°F (24°C), Diffuse visual<br></p>');
x.document.writeln('<br><form><center><input type=button value="Close" onClick="window.close()"></center></form>');
x.document.writeln('</td></tr></table>');
x.document.writeln('</body></html>');
}
function popup3() {
var options = "toolbar=no,scrollbars=no,resizable=no,width=425,height=590";
x = open('', 'displayWindow', options);
x.document.open();
x.document.writeln('<html><head><title>Granularity Curves 2374 Panchromatic Sound Recording Film</title></head>');
x.document.writeln('<body bgcolor="#000000" text="#ffffff">');
x.document.writeln('<table align="center" border="0" cellpadding="0" cellspacing="0">');
x.document.writeln('<tr><td align="center">');
x.document.writeln('<br><img src="/motion/uploadedimages/global_images_en_motion_products_lab_ti2292e.gif" align="center" width=385 height=353>');
x.document.writeln('<br><img src="/motion/uploadedimages/global_images_en_motion_products_keys_r_b.gif"  align="center" width="237" height="39">');
x.document.writeln('</td></tr><tr><td align="center" style="font-family: Arial; font-size:10pt">');
x.document.writeln('<p align="left"><br>Process D-97, Status M</p>');
x.document.writeln('<br><form><center><input type=button value="Close" onClick="window.close()"></center></form>');
x.document.writeln('</td></tr></table>');
x.document.writeln('</body></html>');
}
function popup5() {
var options = "toolbar=no,scrollbars=no,resizable=no,width=500,height=570";
x = open('', 'displayWindow', options);
x.document.open();
x.document.writeln('<html><head><title>Time of Development Curves 2374 Panchromatic Sound Recording Film</title></head>');
x.document.writeln('<body bgcolor="#000000" text="#ffffff">');
x.document.writeln('<table align="center" border="0" cellpadding="0" cellspacing="0">');
x.document.writeln('<tr><td align="center">');
x.document.writeln('<br><img src="/motion/uploadedimages/global_images_en_motion_products_lab_ti2292g.gif" align="center" width=460 height=320>');
x.document.writeln('<br><img src="/motion/uploadedimages/global_images_en_motion_products_lab_ti2292g.gif"  align="center" width="254" height="37">');
x.document.writeln('</td></tr><tr><td align="center" style="font-family: Arial; font-size:10pt">');
x.document.writeln('<p align="left"><br>Tungsten (2850K) plus KODAK Heat Absorbing Glass, No. 2043, 1/1000 sec.<br>Diffuse visual</p>');
x.document.writeln('<br><form><center><input type=button value="Close" onClick="window.close()"></center></form>');
x.document.writeln('</td></tr></table>');
x.document.writeln('</body></html>');
}
function popup6() {
var options = "toolbar=no,scrollbars=no,resizable=no,width=415,height=610";
x = open('', 'displayWindow', options);
x.document.open();
x.document.writeln('<html><head><title>Characteristic Curves-Camera Stops  500T Color Negative Film 5218 / 7218</title></head>');
x.document.writeln('<body bgcolor="#000000" text="#ffffff">');
x.document.writeln('<table align="center" border="0" cellpadding="0" cellspacing="0">');
x.document.writeln('<tr><td align="center">');
x.document.writeln('<br><img src="/motion/uploadedImages/global_images_en_motion_products_negative_5218CamStop.gif" align="center" width=385 height=353>');
x.document.writeln('<br><img src="/motion/uploadedImages/global_images_en_motion_products_keys_rgb_r.gif"  align="center" width="170" height="38">');
x.document.writeln('</td></tr><tr><td align="center" style="font-family: Arial; font-size:10pt">');
x.document.writeln('<br>Exposure: 3200K Tungsten 1/50 sec; Process: ECN-2;<br>Densitometry: Status M;');
x.document.writeln('<br><form><center><input type=button value="Close" onClick="window.close()"></center></form>');
x.document.writeln('</td></tr></table>');
x.document.writeln('</body></html>');
}


function popupTools(url,x,y) {
  var options = "scrollbars=yes,resizable=yes,width=" + x + ",height=" + y;
  if (haveqt)
    win1 = window.open(url,"WinOpen",options);
  else {
    win1 = open('', 'displayWindow', 'scrollbars,resizable,width=425,height=455');
    win1.document.open();
    win1.document.writeln('<html><head><title></title></head>');
    win1.document.writeln('<body bgcolor="#ffffff" text="#000000" link="#FFFFFF" vlink="#999999">');
    win1.document.writeln('<form><table align="center" border=0>');
    win1.document.writeln('<tr><td align=center><br><br><br>You do not have Quicktime player.<br><br><a href="http://www.apple.com/quicktime/download/"><img src="downloadQuick.gif" width=172 height=28 border=0 align=center></a></td></tr>');
    win1.document.writeln('<tr><td align=center>');
    win1.document.writeln('<br><br><br><input type=button value="Close" onClick="window.close()">');
    win1.document.writeln('</td></tr>');
    win1.document.writeln('</table></form></body></html>');
    }
} 
function popupGamma() {
var options = "toolbar=no,scrollbars=no,resizable=no,width=500,height=510";
x = open('', 'displayWindow', options);
x.document.open();
x.document.writeln('<html><head><title>Spectral Dye Density Curves 5369 High Contrast Panchromatic Film</title></head>');
x.document.writeln('<body bgcolor="#000000" text="#ffffff">');
x.document.writeln('<table align="center" border="0" cellpadding="0" cellspacing="0">');
x.document.writeln('<tr><td align="center">');
x.document.writeln('<br><img src="/motion/uploadedImages/global_images_en_motion_products_lab_5369Gamma.gif" align="center" width=460 height=320>');
x.document.writeln('<br>');
x.document.writeln('</td></tr><tr><td align="center" style="font-family: Arial; font-size:10pt">');
x.document.writeln('<br>KODAK Developer D-97, 21&#176;C (70&#176;F)');
x.document.writeln('<br><form><center><input type=button value="Close" onClick="window.close()"></center></form>');
x.document.writeln('</td></tr></table>');
x.document.writeln('</body></html>');
}
function popupGross() {
var options = "toolbar=no,scrollbars=no,resizable=no,width=500,height=510";
x = open('', 'displayWindow', options);
x.document.open();
x.document.writeln('<html><head><title>Spectral Dye Density Curves 5369 High Contrast Panchromatic Film</title></head>');
x.document.writeln('<body bgcolor="#000000" text="#ffffff">');
x.document.writeln('<table align="center" border="0" cellpadding="0" cellspacing="0">');
x.document.writeln('<tr><td align="center">');
x.document.writeln('<br><img src="/motion/uploadedImages/global_images_en_motion_products_lab_5369Gross.gif" align="center" width=460 height=320>');
x.document.writeln('<br>');
x.document.writeln('</td></tr><tr><td align="center" style="font-family: Arial; font-size:10pt">');
x.document.writeln('<br>KODAK Developer D-97, 21&#176;C (70&#176;F)');
x.document.writeln('<br><form><center><input type=button value="Close" onClick="window.close()"></center></form>');
x.document.writeln('</td></tr></table>');
x.document.writeln('</body></html>');
}

//open curves and graphs
function curve_popup(option,hyperlink)
{
	window.open(hyperlink,hyperlink.title,option);
	return false;
}
function MM_openBrWindow(theURL,winName,features)
{

  window.open(theURL,winName,features);

}