function home_on(){document.home.src ="images/nav/home_m.gif"}
function home_off(){document.home.src ="images/nav/home_b.gif"}

function work_on(){document.work.src ="images/nav/work_m.gif"}
function work_off(){document.work.src ="images/nav/work_b.gif"}

function contact_on(){document.contact.src ="images/nav/contact_m.gif"}
function contact_off(){document.contact.src ="images/nav/contact_b.gif"}




function recent_on(){document.recent.src ="images/nav/recent_m.gif"}
function recent_off(){document.recent.src ="images/nav/recent_b.gif"}

function commercial_on(){document.commercial.src ="images/nav/commercial_m.gif"}
function commercial_off(){document.commercial.src ="images/nav/commercial_b.gif"}

function attraction_on(){document.attraction.src ="images/nav/attraction_m.gif"}
function attraction_off(){document.attraction.src ="images/nav/attraction_b.gif"}

function ride_on(){document.ride.src ="images/nav/ride_m.gif"}
function ride_off(){document.ride.src ="images/nav/ride_b.gif"}


function play_on(){document.play.src ="images/nav/play_m.gif"}
function play_off(){document.play.src ="images/nav/play_b.gif"}


function fab4d_on(){document.fab4d.src ="images/work/fab4d_m.jpg"}
function fab4d_off(){document.fab4d.src ="images/work/fab4d_b.jpg"}

function apollo_on(){document.apollo.src ="images/work/apollo_m.jpg"}
function apollo_off(){document.apollo.src ="images/work/apollo_b.jpg"}

function cosr_on(){document.cosr.src ="images/work/cosr_m.jpg"}
function cosr_off(){document.cosr.src ="images/work/cosr_b.jpg"}

function mission_on(){document.mission.src ="images/work/mission_m.jpg"}
function mission_off(){document.mission.src ="images/work/mission_b.jpg"}

function dracula_on(){document.dracula.src ="images/work/dracula_m.jpg"}
function dracula_off(){document.dracula.src ="images/work/dracula_b.jpg"}

function sleighride_on(){document.sleighride.src ="images/work/sleighride_m.jpg"}
function sleighride_off(){document.sleighride.src ="images/work/sleighride_b.jpg"}



function maz1_on(){document.maz1.src ="images/work/maz1_m.jpg"}
function maz1_off(){document.maz1.src ="images/work/maz1_b.jpg"}

function maz2_on(){document.maz2.src ="images/work/maz2_m.jpg"}
function maz2_off(){document.maz2.src ="images/work/maz2_b.jpg"}

function mcdonalds_on(){document.mcdonalds.src ="images/work/mcdonalds_m.jpg"}
function mcdonalds_off(){document.mcdonalds.src ="images/work/mcdonalds_b.jpg"}

function mint_on(){document.mint.src ="images/work/mint_m.jpg"}
function mint_off(){document.mint.src ="images/work/mint_b.jpg"}

function eureka_on(){document.eureka.src ="images/work/eureka_m.jpg"}
function eureka_off(){document.eureka.src ="images/work/eureka_b.jpg"}

function greenhouse_on(){document.greenhouse.src ="images/work/greenhouse_m.jpg"}
function greenhouse_off(){document.greenhouse.src ="images/work/greenhouse_b.jpg"}




function mars_on(){document.mars.src ="images/work/mars_m.jpg"}
function mars_off(){document.mars.src ="images/work/mars_b.jpg"}

function ravine_on(){document.ravine.src ="images/work/ravine_m.jpg"}
function ravine_off(){document.ravine.src ="images/work/ravine_b.jpg"}

function pinball_on(){document.pinball.src ="images/work/pinball_m.jpg"}
function pinball_off(){document.pinball.src ="images/work/pinball_b.jpg"}

function spacewalk_on(){document.spacewalk.src ="images/work/spacewalk_m.jpg"}
function spacewalk_off(){document.spacewalk.src ="images/work/spacewalk_b.jpg"}

function maz3_on(){document.maz3.src ="images/work/maz3_m.jpg"}
function maz3_off(){document.maz3.src ="images/work/maz3_b.jpg"}

function maz4_on(){document.maz4.src ="images/work/maz4_m.jpg"}
function maz4_off(){document.maz4.src ="images/work/maz4_b.jpg"}


function facebook_on(){document.facebook.src ="images/sn/facebook_r.jpg"}
function facebook_off(){document.facebook.src ="images/sn/facebook.jpg"}

function linkedin_on(){document.linkedin.src ="images/sn/linkedin_r.jpg"}
function linkedin_off(){document.linkedin.src ="images/sn/linkedin.jpg"}

function youtube_on(){document.youtube.src ="images/sn/youtube_r.jpg"}
function youtube_off(){document.youtube.src ="images/sn/youtube.jpg"}

function twitter_on(){document.twitter.src ="images/sn/twitter_r.jpg"}
function twitter_off(){document.twitter.src ="images/sn/twitter.jpg"}

function map_on(){document.map.src ="images/sn/map_r.jpg"}
function map_off(){document.map.src ="images/sn/map.jpg"}

function juice_on(){document.juice.src ="images/sn/juice_r.gif"}
function juice_off(){document.juice.src ="images/sn/juice.gif"}

function hello_on(){document.hello.src ="images/sn/hello_r.jpg"}
function hello_off(){document.hello.src ="images/sn/hello.jpg"}

function jobs_on(){document.jobs.src ="images/sn/jobs_r.jpg"}
function jobs_off(){document.jobs.src ="images/sn/jobs.jpg"}




function sleighride_trailer_1_on(){document.sleighride_trailer_1.src ="images/nav/sleighride_trailer_1m.jpg"}
function sleighride_trailer_1_off(){document.sleighride_trailer_1.src ="images/nav/sleighride_trailer_1.jpg"}

function sleighride_trailer_2_on(){document.sleighride_trailer_2.src ="images/nav/sleighride_trailer_2m.jpg"}
function sleighride_trailer_2_off(){document.sleighride_trailer_2.src ="images/nav/sleighride_trailer_2.jpg"}

function sleighride_trailer_3_on(){document.sleighride_trailer_3.src ="images/nav/sleighride_trailer_3m.jpg"}
function sleighride_trailer_3_off(){document.sleighride_trailer_3.src ="images/nav/sleighride_trailer_3.jpg"}

function sleighride_trailer_juice_on(){document.sleighride_trailer_juice.src ="images/nav/sleighride_trailer_f1m.jpg"}
function sleighride_trailer_juice_off(){document.sleighride_trailer_juice.src ="images/nav/sleighride_trailer_f1.jpg"}

function sleighride_trailer_redstar_on(){document.sleighride_trailer_redstar.src ="images/nav/sleighride_trailer_f2m.jpg"}
function sleighride_trailer_redstar_off(){document.sleighride_trailer_redstar.src ="images/nav/sleighride_trailer_f2.jpg"}






function XXX_on(){document.XXX.src ="images/work/XXX_m.jpg"}
function XXX_off(){document.XXX.src ="images/work/XXX_b.jpg"}

function XXX_on(){document.XXX.src ="images/work/XXX_m.jpg"}
function XXX_off(){document.XXX.src ="images/work/XXX_b.jpg"}

function XXX_on(){document.XXX.src ="images/work/XXX_m.jpg"}
function XXX_off(){document.XXX.src ="images/work/XXX_b.jpg"}

function XXX_on(){document.XXX.src ="images/work/XXX_m.jpg"}
function XXX_off(){document.XXX.src ="images/work/XXX_b.jpg"}

function XXX_on(){document.XXX.src ="images/work/XXX_m.jpg"}
function XXX_off(){document.XXX.src ="images/work/XXX_b.jpg"}

function XXX_on(){document.XXX.src ="images/work/XXX_m.jpg"}
function XXX_off(){document.XXX.src ="images/work/XXX_b.jpg"}









function pDracula(elem, radio, helperMsg){

	if(elem.value.match('coffin'))
        {
          if(radio.value.match('colour')) { parent.portal.location="dracula_screener_colour.asp";}
          if(radio.value.match('anaglyph')) { parent.portal.location="dracula_screener_anaglyph.asp"; }
          if(radio.value.match('effects')) { parent.portal.location="dracula_screener_effects.asp"; }
	  if(radio.value.match('ride')) { parent.portal.location="dracula_screener_ride.asp"; }
	}
	else if(elem.value.match('castle'))
        {
          if(radio.value.match('colour')) { parent.portal.location="dracula_screener_colour.asp";}
          if(radio.value.match('anaglyph')) { parent.portal.location="dracula_screener_anaglyph.asp"; }
          if(radio.value.match('effects')) { parent.portal.location="dracula_screener_effects.asp"; }
	  if(radio.value.match('ride')) { parent.portal.location="dracula_screener_ride.asp"; }
	}
        else
        {
	  alert(helperMsg); elem.focus(); return false;
	}
}
function pCosr(elem, radio, helperMsg){

	if(elem.value.match('skull'))
        {
          if(radio.value.match('colour')) { parent.portal.location="cosr_screener_colour.asp";}
          if(radio.value.match('anaglyph')) { parent.portal.location="cosr_screener_anaglyph.asp"; }
	}
	else if(elem.value.match('sevenseas'))
        {
          if(radio.value.match('colour')) { parent.portal.location="cosr_screener_colour.asp";}
          if(radio.value.match('anaglyph')) { parent.portal.location="cosr_screener_anaglyph.asp"; }
	}
        else
        {
	  alert(helperMsg); elem.focus(); return false;
	}
}
function pMars(elem, radio, helperMsg){

	if(elem.value.match('lander'))
        {
          if(radio.value.match('colour')) { parent.portal.location="mars_screener_colour.asp";}
          if(radio.value.match('anaglyph')) { parent.portal.location="mars_screener_anaglyph.asp"; }
	}
        else
        {
	  alert(helperMsg); elem.focus(); return false;
	}
}
function pApollo(elem, radio, helperMsg){

	if(elem.value.match('rover'))
        {
          if(radio.value.match('colour')) { parent.portal.location="apollo_screener_colour.asp";}
          if(radio.value.match('anaglyph')) { parent.portal.location="apollo_screener_anaglyph.asp"; }
	}
        else
        {
	  alert(helperMsg); elem.focus(); return false;
	}
}
function pFab4D(elem, radio, helperMsg){

	if(elem.value.match('submarine'))
        {
          if(radio.value.match('colour')) { parent.portal.location="fab4D_screener_colour.asp";}
          if(radio.value.match('anaglyph')) { parent.portal.location="fab4D_screener_anaglyph.asp"; }
	}
        else
        {
	  alert(helperMsg); elem.focus(); return false;
	}
}
function pMission(elem, radio, helperMsg){

	if(elem.value.match('bombers'))
        {
          if(radio.value.match('colour')) { parent.portal.location="mission_screener_colour.asp";}
          if(radio.value.match('anaglyph')) { parent.portal.location="mission_screener_anaglyph.asp"; }
	}
	else if(elem.value.match('bluesky'))
        {
          if(radio.value.match('colour')) { parent.portal.location="mission_screener_colour.asp";}
          if(radio.value.match('anaglyph')) { parent.portal.location="mission_screener_anaglyph.asp"; }
	}
        else
        {
	  alert(helperMsg); elem.focus(); return false;
	}
}
function pRavine(elem, radio, helperMsg){

	if(elem.value.match('racer'))
        {
          if(radio.value.match('colour')) { parent.portal.location="ravine_screener_colour.asp";}
          if(radio.value.match('anaglyph')) { parent.portal.location="ravine_screener_anaglyph.asp"; }
	}
        else
        {
	  alert(helperMsg); elem.focus(); return false;
	}
}
function pPinball(elem, radio, helperMsg){

	if(elem.value.match('astro'))
        {
          if(radio.value.match('colour')) { parent.portal.location="pinball_screener_colour.asp";}
          if(radio.value.match('anaglyph')) { parent.portal.location="pinball_screener_anaglyph.asp"; }
	}
        else
        {
	  alert(helperMsg); elem.focus(); return false;
	}
}
function pSpacewalk(elem, radio, helperMsg){

	if(elem.value.match('shuttle'))
        {
          if(radio.value.match('colour')) { parent.portal.location="spacewalk_screener_colour.asp";}
          if(radio.value.match('anaglyph')) { parent.portal.location="spacewalk_screener_anaglyph.asp"; }
	}
        else
        {
	  alert(helperMsg); elem.focus(); return false;
	}
}
function pSleighride(elem, radio, helperMsg){

	if(elem.value.match('decorations'))
        {
          if(radio.value.match('colour')) { parent.portal.location="sleighride_screener_colour.asp";}
          if(radio.value.match('anaglyph')) { parent.portal.location="sleighride_screener_anaglyph.asp"; }
	}
        else
        {
	  alert(helperMsg); elem.focus(); return false;
	}
}




function sleighrideTeaser1(){
  parent.portal.location="sleighride_trailer_teaser1.asp";
}
function sleighrideTeaser2(){
  parent.portal.location="sleighride_trailer_teaser2.asp";
}
function sleighrideTrailer(){
  parent.portal.location="sleighride_trailer_trailer.asp";
}






function mouse_on(fn)
{
  //window.alert(fn);
  document.fn.src = "images/work/"+fn+"_m.jpg";
}
function mouse_off(fn)
{
  document.fn.src = "images/work/"+fn+"_b.jpg";
}
