
function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

function popVid(type,vid) {
	var url = '/media/index.asp?type='+ type +'&vid='+ vid;
	//alert(url);
	window.open(url,'','height=375,width=480');
}

function popVidPF(type,vid) {
	var url = '/media/indexpf.asp?type='+ type +'&vid='+ vid;
	//alert(url);
	window.open(url,'media','height=500,width=600');
}

function InsertSampleMovie(type,vid)
{

//alert(type+' y '+vid);

document.write('<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="480" height="375" style="background-color:#000000">\n');
document.write('<param name="src" value="/vids/'+type+'/'+vid+'.mov" />\n');
document.write('<param name="controller" value="true" />\n');
document.write('<object type="video/quicktime" data="/vids/'+type+'/'+vid+'.mov" width="480" height="375" class="mov">\n');
document.write('<param name="controller" value="true" />\n');
document.write('Error text.\n');
document.write('</object>\n');
document.write('</object>\n');
}

function InsertSampleMoviePF(type,vid)
{

//alert(type+' y '+vid);

document.write('<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="480" height="375">\n');
document.write('<param name="src" value="/vids/'+type+'/'+vid+'_pf.mov" />\n');
document.write('<param name="href" value="/vids/'+type+'/'+vid+'.mov" />\n');
document.write('<param name="target" value="myself" />\n');
document.write('<param name="controller" value="false" />\n');
document.write('<object type="video/quicktime" data="/vids/'+type+'/'+vid+'.mov" width="480" height="375" class="mov">\n');
document.write('<param name="controller" value="true" />\n');
document.write('Error text.\n');
document.write('</object>\n');
document.write('</object>\n');
}