//*******************************
//* common.js                                         *
//*                                                    *

if (document.images && (navigator.appName.toLowerCase() != "netscape" || navigator.appVersion.charAt(0) != "3")) { 
ionhnav_top = new Image(); ionhnav_top.src = 'images/top_r.gif';
ioffhnav_top = new Image(); ioffhnav_top.src = 'images/top.gif';
}

function onhnav_top(){
if (document.images && (navigator.appName.toLowerCase() != "netscape" || navigator.appVersion.charAt(0) != "3")) {
document['hnav_top'].src = ionhnav_top.src;}
}

function offhnav_top(){
if (document.images && (navigator.appName.toLowerCase() != "netscape" || navigator.appVersion.charAt(0) != "3")) {
document['hnav_top'].src = ioffhnav_top.src;}
}

function naviPage(the_page)
{
	if (the_page == "") // if there's no target
	{
	return true;
	}
	self.location = the_page;
}

function pop(page) 
 { 
  popC = window.open(page,'popC','toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=yes,copyhistory=no,scrollbars=yes,width=500,height=400');
  popC.focus();
 }

function InsertMovieW(){
document.write('<oject id="MediaPlayer" height="380" width="480" classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95" standby="Loading Windows Media Player components..." type="application/x-oleobject">');
document.write('<param name="FileName" value="media/memoria_0906.wmv">');
document.write('<param name="autostart" value="true">');
document.write('<param name="ShowControls" value="true">');
document.write('<param name="ShowStatusBar" value="false">');
document.write('<param name="ShowDisplay" value="false">');
document.write('<embed type="application/x-mplayer2" src="media/memoria_0906.wmv" name="MediaPlayer" height="380" width="480" showcontrols="1" showstatusbar="0" showdisplay="0" autostart="1">');
document.write('</embed>');
document.write('</object>');
}

function InsertMovieQ(){
document.write('<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" height="380" width="480">');
document.write('<param name="src" value="media/memoria_0906.mov">');
document.write('<param name="autoplay" value="true">');
document.write('<param name="type" value="video/quicktime" height="380" width="480">');
document.write('<embed src="media/memoria_0906.mov" height="380" width="480" autoplay="true" type="video/quicktime" pluginspage="http://www.apple.com/quicktime/download/">');
document.write('</object>');
}

function InsertMovieB(){
document.write('<oject id="MediaPlayer" height="380" width="480" classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95" standby="Loading Windows Media Player components..." type="application/x-oleobject">');
document.write('<param name="FileName" value="http://news.bbc.co.uk/media/avdb/news/video/77000/bb/77166_16x9_bb.asx">');
document.write('<param name="autostart" value="true">');
document.write('<param name="ShowControls" value="true">');
document.write('<param name="ShowStatusBar" value="false">');
document.write('<param name="ShowDisplay" value="false">');
document.write('<embed type="application/x-mplayer2" src="http://news.bbc.co.uk/media/avdb/news/video/77000/bb/77166_16x9_bb.asx" name="MediaPlayer" height="380" width="480" showcontrols="1" showstatusbar="0" showdisplay="0" autostart="1">');
document.write('</embed>');
document.write('</object>');
}

function InsertMovieEL(){
document.write('<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" height="380" width="480">');
document.write('<param name="src" value="media/burycremquicktime.mov">');
document.write('<param name="autoplay" value="true">');
document.write('<param name="type" value="video/quicktime" height="380" width="480">');
document.write('<embed src="media/burycremquicktime.mov" height="380" width="480" autoplay="true" type="video/quicktime" pluginspage="http://www.apple.com/quicktime/download/">');
document.write('</object>');
}

function InsertMovieI(){
document.write('<oject id="MediaPlayer" height="250" width="590" classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95" standby="Loading Windows Media Player components..." type="application/x-oleobject">');
document.write('<param name="FileName" value="media/memoria2.wmv">');
document.write('<param name="autostart" value="true">');
document.write('<param name="ShowControls" value="true">');
document.write('<param name="ShowStatusBar" value="false">');
document.write('<param name="ShowDisplay" value="false">');
document.write('<embed type="application/x-mplayer2" src="media/memoria2.wmv" name="MediaPlayer" height="250" width="590" showcontrols="1" showstatusbar="0" showdisplay="0" autostart="1">');
document.write('</embed>');
document.write('</object>');
}
