// JavaScript Document		

// pop up window for  movies



var myWindow = null, winCount = 1;

		

function popUp(videoCode)

{

	var w, h, urlName, winParams, videoName, videoRoot, videoTitle, d;

	var stillImage = false, extraH, icecandyMovie = false, relPrefix, winW, winH;

				

	switch (videoCode)

	{

		// alberdi

		case 'alberdi_01': w = 320; h = 240; videoName = 'alberdi_omo_creation.mov'; videoTitle = 'agustin alberdi "creation"'; break;

		case 'alberdi_02': w = 320; h = 240; videoName = 'alberdi_118118_opener.mov'; videoTitle = 'agustin alberdi "opener"'; break;

		case 'alberdi_03': w = 320; h = 240; videoName = 'alberdi_vh1_parentseve.mov'; videoTitle = 'agustin alberdi "parents eve"'; break;

		case 'alberdi_04': w = 320; h = 240; videoName = 'alberdi_vw_sweater.mov'; videoTitle = 'agustin alberdi "sweater"'; break;

		case 'alberdi_05': w = 320; h = 240; videoName = 'alberdi_peptobismol_dumped.mov'; videoTitle = 'agustin alberdi "dumped"'; break;

		case 'alberdi_06': w = 320; h = 240; videoName = 'alberdi_quilmes_destiny.mov'; videoTitle = 'agustin alberdi "destiny"'; break;

		case 'alberdi_shorts01': w = 320; h = 240; videoName = 'alberdi_mtv_dentures.mov'; videoTitle = 'agustin alberdi "dentures"'; break;

		case 'alberdi_shorts02': w = 320; h = 240; videoName = 'alberdi_mtv_reincarnation.mov'; videoTitle = 'agustin alberdi "reincarnation"'; break;

		case 'alberdi_music01': w = 320; h = 240; videoName = 'alberdi_babasonicos_pijamas.mov'; videoTitle = 'agustin alberdi "pijamas"'; break;

		case 'alberdi_music02': w = 320; h = 240; videoName = 'alberdi_babasonicos_yegua.mov'; videoTitle = 'agustin alberdi "yegua"'; break;

		case 'alberdi_music03': w = 320; h = 240; videoName = 'alberdi_babasonicos_carismatico.mov'; videoTitle = 'agustin alberdi "carismatico"'; break;

		case 'alberdi_mainreel01': w = 320; h = 240; videoName = 'alberdi_showreel.mov'; videoTitle = 'agustin alberdi "full showreel"'; break;

		// baderman

		case 'baderman_01': w = 320; h = 240; videoName = 'baderman_phones4U_squid.mov'; videoTitle = 'brian baderman "squid"'; break;

		case 'baderman_02': w = 320; h = 240; videoName = 'baderman_haagendazs_pathtojoy.mov'; videoTitle = 'brian baderman "path to joy"'; break;

		case 'baderman_03': w = 320; h = 240; videoName = 'baderman_panadol_seduction.mov'; videoTitle = 'brian baderman "seduction"'; break;

		case 'baderman_04': w = 320; h = 240; videoName = 'baderman_jaffacakes_teacher.mov'; videoTitle = 'brian baderman "teacher"'; break;

		case 'baderman_05': w = 320; h = 240; videoName = 'baderman_phones4U_quiz.mov'; videoTitle = 'brian baderman "quiz"'; break;

		case 'baderman_06': w = 320; h = 240; videoName = 'baderman_citroen_suicide.mov'; videoTitle = 'brian baderman "suicide"'; break;

		case 'baderman_mainreel01': w = 320; h = 240; videoName = 'baderman_showreel.mov'; videoTitle = 'brian baderman "full showreel"'; break;

		// bigelow

		case 'bigelow_01': w = 320; h = 240; videoName = 'bigelow_allbran_milk.mov'; videoTitle = 'mike bigelow "milk"'; break;

		case 'bigelow_02': w = 320; h = 240; videoName = 'bigelow_budlight_pole.mov'; videoTitle = 'mike bigelow "pole"'; break;

		case 'bigelow_03': w = 320; h = 240; videoName = 'bigelow_budlight_bestcostume.mov'; videoTitle = 'mike bigelow "best costume"'; break;

		case 'bigelow_04': w = 320; h = 240; videoName = 'bigelow_cartoonnetwork_trunk.mov'; videoTitle = 'mike bigelow "trunk"'; break;

		case 'bigelow_05': w = 320; h = 240; videoName = 'bigelow_oldnick_boss.mov'; videoTitle = 'mike bigelow "boss"'; break;

		case 'bigelow_06': w = 320; h = 240; videoName = 'bigelow_pella_billy.mov'; videoTitle = 'mike bigelow "billy"'; break;

		case 'bigelow_mainreel01': w = 320; h = 240; videoName = 'bigelow_showreel.mov'; videoTitle = 'mike bigelow "full showreel"'; break;

		// caicoya

		case 'caicoya_01': w = 320; h = 240; videoName = 'caicoya_kelloggs_awakening.mov'; videoTitle = 'nicolas caicoya "awakening"'; break;

		case 'caicoya_02': w = 320; h = 240; videoName = 'caicoya_ikea_itsyourhome.mov'; videoTitle = 'nicolas caicoya  "its your home"'; break;

		case 'caicoya_03': w = 320; h = 240; videoName = 'caicoya_mahou_comingup.mov'; videoTitle = 'nicolas caicoya  "lighter world"'; break;

		case 'caicoya_04': w = 320; h = 240; videoName = 'caicoya_roca_thenandnow.mov'; videoTitle = 'nicolas caicoya  "then and now"'; break;

		case 'caicoya_05': w = 320; h = 240; videoName = 'caicoya_apromar_welcomehome.mov'; videoTitle = 'nicolas caicoya  "welcome home"'; break;

		case 'caicoya_06': w = 320; h = 240; videoName = 'caicoya_ikea_living_rooms.mov'; videoTitle = 'nicolas caicoya  "living rooms"'; break;

		case 'caicoya_mainreel01': w = 320; h = 240; videoName = 'caicoya_showreel.mov'; videoTitle = 'nicolas caicoya  "full showreel"'; break;

		// david

		case 'david_01': w = 320; h = 240; videoName = 'david_beyond.com_siamesetwins.mov'; videoTitle = 'jonathan david "siamese twins"'; break;

		case 'david_02': w = 320; h = 240; videoName = 'david_mercedes_howny.mov'; videoTitle = 'jonathan david "new yorkers"'; break;

		case 'david_03': w = 320; h = 240; videoName = 'david_dunkindonuts_chase.mov'; videoTitle = 'jonathan david "chase"'; break;

		case 'david_04': w = 320; h = 240; videoName = 'david_wallstreetjournal_imagine.mov'; videoTitle = 'jonathan david "imagine"'; break;

		case 'david_05': w = 320; h = 240; videoName = 'david_beyond.com_artcticbreath.mov'; videoTitle = 'jonathan david "artic breath"'; break;

		case 'david_06': w = 320; h = 240; videoName = 'david_comcast_zen.mov'; videoTitle = 'jonathan david "zen"'; break;

		case 'david_mainreel01': w = 320; h = 240; videoName = 'david_showreel.mov'; videoTitle = 'jonathan david "full showreel"'; break;

		// fauchon

		case 'fauchon_01': w = 320; h = 240; videoName = 'fauchon_montage_2008.mov'; videoTitle = 'daniel fauchon "montage 2008"'; break;

		case 'fauchon_02': w = 320; h = 240; videoName = 'fauchon_barilla_truffle.mov'; videoTitle = 'daniel fauchon "truffle"'; break;

		case 'fauchon_03': w = 320; h = 240; videoName = 'fauchon_segafredo_authentic.mov'; videoTitle = 'daniel fauchon "authentic"'; break;

		case 'fauchon_04': w = 320; h = 240; videoName = 'fauchon_maille_artichoke.mov'; videoTitle = 'daniel fauchon "artichoke"'; break;

		case 'fauchon_05': w = 320; h = 240; videoName = 'fauchon_lindt_passion.mov'; videoTitle = 'daniel fauchon "passion"'; break;

		case 'fauchon_06': w = 320; h = 240; videoName = 'fauchon_panzani_pesto.mov'; videoTitle = 'daniel fauchon "pesto"'; break;

		case 'fauchon_mainreel01': w = 320; h = 240; videoName = 'fauchon_showreel.mov'; videoTitle = 'daniel fauchon "full showreel"'; break;

		// ferri

		case 'ferri_01': w = 320; h = 240; videoName = 'ferri_bulgari.mov'; videoTitle = 'fabrizio ferri "lucea"'; break;

		case 'ferri_02': w = 320; h = 240; videoName = 'ferri_pantene_hairrevival.mov'; videoTitle = 'fabrizio ferri "hair revival"'; break;

		case 'ferri_03': w = 320; h = 240; videoName = 'ferri_pantene_overnightrenewal.mov'; videoTitle = 'fabrizio ferri "overnight renewal"'; break;

		case 'ferri_04': w = 320; h = 240; videoName = 'ferri_pantene3.mov'; videoTitle = 'fabrizio ferri "moisture boost"'; break;

		case 'ferri_05': w = 320; h = 240; videoName = 'ferri_roma_thegift.mov'; videoTitle = 'fabrizio ferri "the gift"'; break;

		case 'ferri_06': w = 320; h = 240; videoName = 'ferri_sting_prelude.mov'; videoTitle = 'fabrizio ferri "prelude"'; break;

		case 'ferri_mainreel01': w = 320; h = 240; videoName = 'ferri_showreel.mov'; videoTitle = 'fabrizio ferri "full showreel"'; break;

		// gaber

		case 'gaber_01': w = 320; h = 240; videoName = 'gaber_turkish_tourist.mov'; videoTitle = 'yariv gaber "magic carpet"'; break;

		case 'gaber_02': w = 320; h = 240; videoName = 'gaber_edenspring_enrapture.mov'; videoTitle = 'yariv gaber "enrapture"'; break;

		case 'gaber_03': w = 320; h = 240; videoName = 'gaber_dorna_natura.mov'; videoTitle = 'yariv gaber "natura"'; break;

		case 'gaber_04': w = 320; h = 240; videoName = 'gaber_schweppes_relax.mov'; videoTitle = 'yariv gaber "relax"'; break;

		case 'gaber_05': w = 320; h = 240; videoName = 'gaber_herbalessence_ltr.mov'; videoTitle = 'yariv gaber "long term relationship"'; break;

		case 'gaber_06': w = 320; h = 240; videoName = 'gaber_india_takingindiatotheworld.mov'; videoTitle = 'yariv gaber "taking india to the world"'; break;

		case 'gaber_music01': w = 320; h = 240; videoName = 'gaber_1_seta.mov'; videoTitle = 'yariv gaber "delirious"'; break;

		case 'gaber_music02': w = 320; h = 240; videoName = 'gaber_2_offspring.mov'; videoTitle = 'yariv gaber "the kids arent alright"'; break;

		case 'gaber_music03': w = 320; h = 240; videoName = 'gaber_3_savagegarden.mov'; videoTitle = 'yariv gaber "crash and burn"'; break;

		case 'gaber_music04': w = 320; h = 240; videoName = 'gaber_4_olivershanti.mov'; videoTitle = 'yariv gaber "well balanced"'; break;

		case 'gaber_mainreel01': w = 320; h = 240; videoName = 'gaber_showreel.mov'; videoTitle = 'yariv gaber "full showreel"'; break;

		// gabriel

		case 'gabriel_01': w = 320; h = 240; videoName = 'gabriel_j&b_connect.mov'; videoTitle = 'ian gabriel "connect"'; break;

		case 'gabriel_02': w = 320; h = 240; videoName = 'gabriel_sanlam_thinkingahead.mov'; videoTitle = 'ian gabriel "thinking ahead"'; break;

		case 'gabriel_03': w = 320; h = 240; videoName = 'gabriel_saa_peoplesgame.mov'; videoTitle = 'ian gabriel "the people&acute;s game"'; break;

		case 'gabriel_04': w = 320; h = 240; videoName = 'gabriel_investec_outoftheordinary.mov'; videoTitle = 'ian gabriel "out of the ordinary"'; break;

		case 'gabriel_05': w = 320; h = 240; videoName = 'gabriel_hansa_inspiration.mov'; videoTitle = 'ian gabriel "inspiration"'; break;

		case 'gabriel_06': w = 320; h = 240; videoName = 'gabriel_guinness_topoftheworld.mov'; videoTitle = 'ian gabriel "top of the world"'; break;

		case 'gabriel_mainreel01': w = 320; h = 240; videoName = 'gabriel_showreel.mov'; videoTitle = 'ian gabriel "full showreel"'; break;

		// gershfield

		case 'gershfield_01': w = 320; h = 240; videoName = 'gershfield_bigtrain_duck.mov'; videoTitle = 'jonathan gershfield "duck"'; break;

		case 'gershfield_02': w = 320; h = 240; videoName = 'gershfield_wildwest_bodypiercing.mov'; videoTitle = 'jonathan gershfield "body piercing"'; break;

		case 'gershfield_03': w = 320; h = 240; videoName = 'gershfield_lotr_actually.mov'; videoTitle = 'jonathan gershfield "lord of the rings actually"'; break;

		case 'gershfield_04': w = 320; h = 240; videoName = 'gershfield_deadringers.mov'; videoTitle = 'jonathan gershfield "24 pints"'; break;

		case 'gershfield_05': w = 320; h = 240; videoName = 'gershfield_mtv_basehumping.mov'; videoTitle = 'jonathan gershfield "base humping"'; break;

		case 'gershfield_06': w = 320; h = 240; videoName = 'gershfield_3andOut_excerpt.mov'; videoTitle = 'jonathan gershfield "excerpt"'; break;

		case 'gershfield_mainreel01': w = 320; h = 240; videoName = 'gershfield_showreel.mov'; videoTitle = 'jonathan gershfield "full showreel"'; break;

		// maclean

		case 'maclean_01': w = 320; h = 240; videoName = 'maclean_loteria08_luckbelongstoall.mov'; videoTitle = 'eduardo maclean "luck belongs to all"'; break;

		case 'maclean_02': w = 320; h = 240; videoName = 'maclean_fontaneda_incredible.mov'; videoTitle = 'eduardo maclean "incredible"'; break;

		case 'maclean_03': w = 320; h = 240; videoName = 'maclean_andalucia_gracias.mov'; videoTitle = 'eduardo maclean "gracias"'; break;

		case 'maclean_04': w = 320; h = 240; videoName = 'maclean_saimaza_voodoo.mov'; videoTitle = 'eduardo maclean "voodoo"'; break;

		case 'maclean_05': w = 320; h = 240; videoName = 'maclean_harleydavidson_bornto.mov'; videoTitle = 'eduardo maclean "born to"'; break;

		case 'maclean_06': w = 320; h = 240; videoName = 'maclean_loteria.mov'; videoTitle = 'eduardo maclean "crystal ball"'; break;

		case 'maclean_shorts01': w = 320; h = 240; videoName = 'maclean_brainstorm_excerpt.mov'; videoTitle = 'eduardo maclean "brainstorm"(excerpt)'; break;

		case 'maclean_mainreel01': w = 320; h = 240; videoName = 'maclean_showreel.mov'; videoTitle = 'eduardo maclean "full showreel"'; break;
		
		// miller
		
		case 'miller_01': w = 320; h = 240; videoName = 'miller_showreel.mov'; videoTitle = 'diana miller "full showreel"'; break;
		
		// panini

		case 'panini_01': w = 320; h = 240; videoName = 'panini_allmusic_music.mov'; videoTitle = 'ago panini "music"'; break;

		case 'panini_02': w = 320; h = 240; videoName = 'panini_coke_world.mov'; videoTitle = 'ago panini "world"'; break;

		case 'panini_03': w = 320; h = 240; videoName = 'panini_lancia_carlabruni.mov'; videoTitle = 'ago panini "carla bruni"'; break;

		case 'panini_04': w = 320; h = 240; videoName = 'panini_findus_trains.mov'; videoTitle = 'ago panini "trains"'; break;

		case 'panini_05': w = 320; h = 240; videoName = 'panini_zero_bullet.mov'; videoTitle = 'ago panini "bullet"'; break;

		case 'panini_06': w = 320; h = 240; videoName = 'panini_mtv_drinkanddrive.mov'; videoTitle = 'ago panini "drink & drive"'; break;

		case 'panini_cars01': w = 320; h = 240; videoName = 'panini_lancia_funeral.mov'; videoTitle = 'ago panini "funeral"'; break;

		case 'panini_cars02': w = 320; h = 240; videoName = 'panini_fiat_drive.mov'; videoTitle = 'ago panini "drive"'; break;

		case 'panini_cars03': w = 320; h = 240; videoName = 'panini_lancia_styling.mov'; videoTitle = 'ago panini "styling"'; break;

		case 'panini_cars04': w = 320; h = 240; videoName = 'panini_opel_flexibility.mov'; videoTitle = 'ago panini "flexibility"'; break;

		case 'panini_cars05': w = 320; h = 240; videoName = 'panini_renault_crusher.mov'; videoTitle = 'ago panini "crusher"'; break;

		case 'panini_cars06': w = 320; h = 240; videoName = 'panini_nissan_pages.mov'; videoTitle = 'ago panini "pages"'; break;

		case 'panini_music01': w = 320; h = 240; videoName = 'panini_zucchero_occhi.mov'; videoTitle = 'ago panini "occhi"'; break;

		case 'panini_mainreel01': w = 320; h = 240; videoName = 'panini_showreel.mov'; videoTitle = 'ago panini "main showreel"'; break;

		case 'panini_carreel01': w = 320; h = 240; videoName = 'panini_car_showreel.mov'; videoTitle = 'ago panini "car showreel"'; break;

		// piche

		case 'piche_01': w = 320; h = 240; videoName = 'piche_mastercard_everythingelse.mov'; videoTitle = 'jean-marc piche "for everything else"'; break;

		case 'piche_02': w = 320; h = 240; videoName = 'piche_olymel_terriblesecret.mov'; videoTitle = 'jean-marc piche "terrible secret"'; break;

		case 'piche_03': w = 320; h = 240; videoName = 'piche_verizon_quiettalkers.mov'; videoTitle = 'jean-marc piche "quiet talkers"'; break;

		case 'piche_04': w = 320; h = 240; videoName = 'piche_ford_panneur.mov'; videoTitle = 'jean-marc piche "panneur"'; break;

		case 'piche_05': w = 320; h = 240; videoName = 'piche_montrealhospital_tricycle.mov'; videoTitle = 'jean-marc piche "tricycle"'; break;

		case 'piche_06': w = 320; h = 240; videoName = 'piche_volksbanken_100.mov'; videoTitle = 'jean-marc piche "100%"'; break;

		case 'piche_mainreel01': w = 320; h = 240; videoName = 'piche_showreel.mov'; videoTitle = 'jean-marc piche "full showreel"'; break;

		// restelli

		case 'restelli_01': w = 320; h = 240; videoName = 'restelli_current.com_damove.mov'; videoTitle = 'alberto restelli "damove"'; break;

		case 'restelli_02': w = 320; h = 240; videoName = 'restelli_current.com_brakedancefin.mov'; videoTitle = 'alberto restelli "breakdancefin"'; break;

		case 'restelli_03': w = 320; h = 240; videoName = 'restelli_current.com_scratchfin.mov'; videoTitle = 'alberto restelli "scratchfin"'; break;

		case 'restelli_04': w = 320; h = 240; videoName = 'restelli_mtv_clocks.mov'; videoTitle = 'alberto restelli "clocks"'; break;

		case 'restelli_05': w = 320; h = 240; videoName = 'restelli_mtv2.mov'; videoTitle = 'alberto restelli "new week"'; break;

		case 'restelli_06': w = 320; h = 240; videoName = 'restelli_mtv_clingfilm.mov'; videoTitle = 'alberto restelli "clingfilm"'; break;

		case 'restelli_music01': w = 320; h = 240; videoName = 'restelli_1_feelgoodvibe.mov'; videoTitle = 'alberto restelli "feel good vibe"'; break;

		case 'restelli_music02': w = 320; h = 240; videoName = 'restelli_2_thisisthesound.mov'; videoTitle = 'alberto restelli "this is the sound"'; break;

		case 'restelli_music03': w = 320; h = 240; videoName = 'restelli_cassius_gibberish.mov'; videoTitle = 'alberto restelli "gibberish"'; break;

		case 'restelli_mainreel01': w = 320; h = 240; videoName = 'restelli_showreel.mov'; videoTitle = 'alberto restelli "full showreel"'; break;

		// richter

		case 'richter_01': w = 320; h = 240; videoName = 'richter_toyota_tamed.mov'; videoTitle = 'thomas richter "tamed"'; break;

		case 'richter_02': w = 320; h = 240; videoName = 'richter_ikea_iloveyou.mov'; videoTitle = 'thomas richter "i love you"'; break;

		case 'richter_03': w = 320; h = 240; videoName = 'richter_jump_odours.mov'; videoTitle = 'thomas richter "odours"'; break;

		case 'richter_04': w = 320; h = 240; videoName = 'richter_crunch_fitness.mov'; videoTitle = 'thomas richter "crunch"'; break;

		case 'richter_05': w = 320; h = 240; videoName = 'richter_afm_simulator.mov'; videoTitle = 'thomas richter "simulator"'; break;

		case 'richter_06': w = 320; h = 240; videoName = 'richter_ps2_coolboarders.mov'; videoTitle = 'thomas richter "snowboarders"'; break;

		case 'richter_mainreel01': w = 320; h = 240; videoName = 'richter_showreel.mov'; videoTitle = 'thomas richter "full showreel"'; break;

		// sagy

		case 'sagy_01': w = 320; h = 240; videoName = 'sagy_celio_thepowertoattract.mov'; videoTitle = 'guy sagy "the power to attract"'; break;

		case 'sagy_02': w = 320; h = 240; videoName = 'sagy_designcentre_ouvre.mov'; videoTitle = 'guy sagy "oeuvre"'; break;

		case 'sagy_03': w = 320; h = 240; videoName = 'sagy_duru_magnetism.mov'; videoTitle = 'guy sagy "magnetism"'; break;

		case 'sagy_04': w = 320; h = 240; videoName = 'sagy_erroca_stars.mov'; videoTitle = 'guy sagy "stars"'; break;

		case 'sagy_05': w = 320; h = 240; videoName = 'sagy_huncashampoo.mov'; videoTitle = 'guy sagy "not too fast"'; break;

		case 'sagy_06': w = 320; h = 240; videoName = 'sagy_josefform_marionette.mov'; videoTitle = 'guy sagy "marionette"'; break;

		case 'sagy_mainreel01': w = 320; h = 240; videoName = 'sagy_showreel.mov'; videoTitle = 'guy sagy "full showreel"'; break;
		
		// morgans

		case 'morgans_01': w = 320; h = 240; videoName = 'morgans_celcom_unbeatable.mov'; videoTitle = 'paul morgans "unbeatable"'; break;

		case 'morgans_02': w = 320; h = 240; videoName = 'morgans_cockspur_city.mov'; videoTitle = 'paul morgans "city"'; break;

		case 'morgans_03': w = 320; h = 240; videoName = 'morgans_gm_futuretransport.mov'; videoTitle = 'paul morgans "future transport"'; break;

		case 'morgans_04': w = 320; h = 240; videoName = 'morgans_mrf_comfortable.mov'; videoTitle = 'paul morgans "comfortable"'; break;

		case 'morgans_05': w = 320; h = 240; videoName = 'morgans_mrf_getagrip.mov'; videoTitle = 'paul morgans "get a grip"'; break;

		case 'morgans_06': w = 320; h = 240; videoName = 'morgans_philipmorris_swimmers.mov'; videoTitle = 'paul morgans "swimmers"'; break;

		case 'morgans_mainreel01': w = 320; h = 240; videoName = 'morgans_showreel.mov'; videoTitle = 'paul morgans "full showreel"'; break;

		// nielsen

		case 'nielsen_01': w = 320; h = 240; videoName = 'nielsen_peredodu_divers.mov'; videoTitle = 'joachim nielsen "divers"'; break;

		case 'nielsen_02': w = 320; h = 240; videoName = 'nielsen_obi_dog.mov'; videoTitle = 'joachim nielsen "dog"'; break;

		case 'nielsen_03': w = 320; h = 240; videoName = 'nielsen_jbs_naked_men.mov'; videoTitle = 'joachim nielsen "naked men"'; break;

		case 'nielsen_04': w = 320; h = 240; videoName = 'nielsen_citroen_neighbourhood.mov'; videoTitle = 'joachim nielsen "neighbourhood"'; break;

		case 'nielsen_05': w = 320; h = 240; videoName = 'nielsen_bianco_stairs.mov'; videoTitle = 'joachim nielsen "stairs"'; break;

		case 'nielsen_06': w = 320; h = 240; videoName = 'nielsen_audi_garage.mov'; videoTitle = 'joachim nielsen "garage"'; break;

		case 'nielsen_mainreel01': w = 320; h = 240; videoName = 'nielsen_showreel.mov'; videoTitle = 'joachim nielsen "full showreel"'; break;
		
		// sander

		case 'sander_01': w = 320; h = 240; videoName = 'sander_tennis_coach.mov'; videoTitle = 'sander "tennis coach"'; break;

		case 'sander_02': w = 320; h = 240; videoName = 'sander_gym_coach.mov'; videoTitle = 'sander "gym coach"'; break;

		case 'sander_03': w = 320; h = 240; videoName = 'sander_swim_coach.mov'; videoTitle = 'sander "swim coach"'; break;

		case 'sander_04': w = 320; h = 240; videoName = 'sander_lynx_vice.mov'; videoTitle = 'sander "mishaps"'; break;

		case 'sander_05': w = 320; h = 240; videoName = 'sander_mini_brother.mov'; videoTitle = 'sander "mini brother"'; break;

		case 'sander_06': w = 320; h = 240; videoName = 'sander_the_kiss.mov'; videoTitle = 'sander "the kiss"'; break;

		case 'sander_07': w = 320; h = 240; videoName = 'sander_showreel.mov'; videoTitle = 'sander "full showreel"'; break;
		
				// saussey

		case 'saussey_01': w = 320; h = 240; videoName = 'saussey_rise_new_smoothie.mov'; videoTitle = 'saussey "smoothie"'; break;

		case 'saussey_02': w = 320; h = 240; videoName = 'saussey_heinz_christine.mov'; videoTitle = 'saussey "christine"'; break;

		case 'saussey_03': w = 320; h = 240; videoName = 'saussey_mini_burger_rings_cops.mov'; videoTitle = 'saussey "cops"'; break;

		case 'saussey_04': w = 320; h = 240; videoName = 'saussey_pineapple lumps_sweet_as.mov'; videoTitle = 'saussey "sweet as"'; break;

		case 'saussey_05': w = 320; h = 240; videoName = 'saussey_mcdonalds_100percentbeef.mov'; videoTitle = 'saussey "100% premium beef"'; break;

		case 'saussey_06': w = 320; h = 240; videoName = 'saussey_42_below vodka_awards.mov'; videoTitle = 'saussey "awards"'; break;

		case 'saussey_mainreel01': w = 320; h = 240; videoName = 'saussey_showreel.mov'; videoTitle = 'saussey "full showreel"'; break;
		
		// shizue

		case 'shizue_01': w = 320; h = 240; videoName = 'shizue_ja_city.mov'; videoTitle = 'shizue "city"'; break;

		case 'shizue_02': w = 320; h = 240; videoName = 'shizue_nescafegold_silk.mov'; videoTitle = 'shizue "silk"'; break;

		case 'shizue_03': w = 320; h = 240; videoName = 'shizue_sloggi_sensual.mov'; videoTitle = 'shizue "sensual"'; break;

		case 'shizue_04': w = 320; h = 240; videoName = 'shizue_suzuki_wayoflife.mov'; videoTitle = 'shizue "way of life"'; break;

		case 'shizue_05': w = 320; h = 240; videoName = 'shizue_raiffeisen_boat.mov'; videoTitle = 'shizue "boat"'; break;

		case 'shizue_06': w = 320; h = 240; videoName = 'shizue_yoplait_fitmatters.mov'; videoTitle = 'shizue "fit matters"'; break;

		case 'shizue_shorts01': w = 320; h = 240; videoName = 'shizue_hood_trailer.mov'; videoTitle = 'shizue "hood" (trailer)'; break;

		case 'shizue_mainreel01': w = 320; h = 240; videoName = 'shizue_showreel.mov'; videoTitle = 'shizue "full showreel"'; break;

		// strauss

		case 'strauss_01': w = 320; h = 240; videoName = 'strauss_rooibos_refresh.mov'; videoTitle = 'oscar strauss "refresh"'; break;

		case 'strauss_02': w = 320; h = 240; videoName = 'strauss_omo_soccer.mov'; videoTitle = 'oscar strauss "soccer"'; break;

		case 'strauss_03': w = 320; h = 240; videoName = 'strauss_gladbags_sandwich.mov'; videoTitle = 'oscar strauss "sandwich"'; break;

		case 'strauss_04': w = 320; h = 240; videoName = 'strauss_petitfilous_lundimardi.mov'; videoTitle = 'oscar strauss "lundi, mardi"'; break;

		case 'strauss_05': w = 320; h = 240; videoName = 'strauss_nederburg_harvest.mov'; videoTitle = 'oscar strauss "harvest"'; break;

		case 'strauss_06': w = 320; h = 240; videoName = 'strauss_gladbags_prison.mov'; videoTitle = 'oscar strauss "prison"'; break;

		case 'strauss_children01': w = 320; h = 240; videoName = 'strauss_avis_psychologist.mov'; videoTitle = 'oscar strauss "psychologist"'; break;

		case 'strauss_children02': w = 320; h = 240; videoName = 'strauss_skip_aloevera.mov'; videoTitle = 'oscar strauss "aloe vera"'; break;

		case 'strauss_children03': w = 320; h = 240; videoName = 'strauss_nissan_pathfinder.mov'; videoTitle = 'oscar strauss "pathfinder"'; break;

		case 'strauss_children04': w = 320; h = 240; videoName = 'strauss_edgarsperfume_surprise.mov'; videoTitle = 'oscar strauss "surprise"'; break;

		case 'strauss_children05': w = 320; h = 240; videoName = 'strauss_dulux_party.mov'; videoTitle = 'oscar strauss "party"'; break;

		case 'strauss_children06': w = 320; h = 240; videoName = 'strauss_omo_stains.mov'; videoTitle = 'oscar strauss "stains"'; break;

		case 'strauss_mainreel01': w = 320; h = 240; videoName = 'strauss_showreel.mov'; videoTitle = 'oscar strauss "full showreel"'; break;

		case 'strauss_childrenreel01': w = 320; h = 240; videoName = 'strauss_showreel_children.mov'; videoTitle = 'oscar strauss "childrens showreel"'; break;

		// usher

		case 'usher_01': w = 320; h = 240; videoName = 'usher_118_whoyougonnacall.mov'; videoTitle = 'usher "who you gonna call"'; break;

		case 'usher_02': w = 320; h = 240; videoName = 'usher_adidas_night_practice.mov'; videoTitle = 'usher "night practice"'; break;

		case 'usher_03': w = 320; h = 240; videoName = 'usher_bridgestone_lucky_dog.mov'; videoTitle = 'usher "lucky dog"'; break;

		case 'usher_04': w = 320; h = 240; videoName = 'usher_ps2_jetli.mov'; videoTitle = 'usher "jet li"'; break;

		case 'usher_05': w = 320; h = 240; videoName = 'usher_visa_fluidity.mov'; videoTitle = 'usher "fluidity"'; break;

		case 'usher_06': w = 320; h = 240; videoName = 'usher_visa_morninginmanhattan.mov'; videoTitle = 'usher "morning in manhattan"'; break;

		case 'usher_07': w = 320; h = 240; videoName = 'usher_showreel.mov'; videoTitle = 'usher "full showreel"'; break;
		
		// hodara

		case 'hodara_01': w = 320; h = 240; videoName = 'hodara_ariel_brothers.mov'; videoTitle = 'hodara "brothers"'; break;

		case 'hodara_02': w = 320; h = 240; videoName = 'hodara_flash_puppies.mov'; videoTitle = 'hodara "puppies"'; break;

		case 'hodara_03': w = 320; h = 240; videoName = 'hodara_pampers_hobbyhorse.mov'; videoTitle = 'hodara "hobbyhorse"'; break;

		case 'hodara_04': w = 320; h = 240; videoName = 'hodara_flash_neighbours.mov'; videoTitle = 'hodara "neighbours"'; break;

		case 'hodara_05': w = 320; h = 240; videoName = 'hodara_papermate_roadwork.mov'; videoTitle = 'hodara "roadwork"'; break;

		case 'hodara_06': w = 320; h = 240; videoName = 'hodara_clarinmedias_football.mov'; videoTitle = 'hodara "football"'; break;

		case 'hodara_07': w = 320; h = 240; videoName = 'hodara_showreel.mov'; videoTitle = 'hodara "full showreel"'; break;
		
		// quilici

		case 'quilici_01': w = 320; h = 240; videoName = 'quilici_mtv_wig.mov'; videoTitle = 'quilici "wig"'; break;

		case 'quilici_02': w = 320; h = 240; videoName = 'quilici_geox_smell.mov'; videoTitle = 'quilici "smell"'; break;

		case 'quilici_03': w = 320; h = 240; videoName = 'quilici_tulipan_talkative.mov'; videoTitle = 'quilici "talkative"'; break;

		case 'quilici_04': w = 320; h = 240; videoName = 'quilici_comcast_pedro.mov'; videoTitle = 'quilici "pedro"'; break;

		case 'quilici_05': w = 320; h = 240; videoName = 'quilici_comcast_learning.mov'; videoTitle = 'quilici "learning"'; break;

		case 'quilici_06': w = 320; h = 240; videoName = 'quilici_comcast_mime.mov'; videoTitle = 'quilici "mime"'; break;

		case 'quilici_07': w = 320; h = 240; videoName = 'quilici_showreel.mov'; videoTitle = 'quilici "full showreel"'; break;
		
		//icecandy

		case 'icecandy_momentum': w = 512; h = 288; videoName = 'momentum_monitors.mov'; videoTitle = 'icecandy "momentum 2007 branding"'; icecandyMovie = true; break;

		case 'icecandy_kinta': w = 320; h = 240; videoName = 'kinta_nokia.mov'; videoTitle = 'icecandy "delivery"'; icecandyMovie = true; break;



    //new work

		case 'bigelow_new01': w = 320; h = 240; videoName = 'bigelow_specsavers.mov'; videoTitle = 'mike bigelow "nemesis"'; break;

		case 'baderman_new01': w = 320; h = 240; videoName = 'baderman_phones4U_whittlingdan.mov'; videoTitle = 'brian baderman "whittling dan"'; break;

		case 'caicoya_new01': w = 320; h = 240; videoName = 'caicoya_flora_leap.mov'; videoTitle = 'nicolas caicoya "leap"'; break;

		case 'caicoya_new02': w = 320; h = 240; videoName = 'caicoya_sammontana_5_stars.mov'; videoTitle = 'nicolas caicoya "5 stars"'; break;

		case 'gaber_new01': w = 320; h = 240; videoName = 'gaber_sela_undress.mov'; videoTitle = 'yariv gaber "undress"'; break;

		case 'mother_new01': w = 320; h = 240; videoName = 'transparent_stella_8kilometres.mov'; videoTitle = 'mother london "8 kilometres"'; break;

		case 'mother_new02': w = 320; h = 240; videoName = 'transparent_stella_24hrs.mov'; videoTitle = 'mother london "24hrs"'; break;

		case 'mother_new03': w = 320; h = 240; videoName = 'transparent_stella_dial_hard.mov'; videoTitle = 'mother london "dial hard"'; break;

		case 'nielsen_new01': w = 320; h = 240; videoName = 'nielsen_work_council_construction.mov'; videoTitle = 'joachim nielsen "construction"'; break;

		case 'nielsen_new02': w = 320; h = 240; videoName = 'nielsen_work_council_daycare.mov'; videoTitle = 'joachim nielsen "daycare"'; break;

		case 'panini_new01': w = 320; h = 240; videoName = 'panini_eridania_zefiro.mov'; videoTitle = 'ago panini "zefiro"'; break;

		case 'panini_new02': w = 320; h = 240; videoName = 'panini_lancia_redridinghood.mov'; videoTitle = 'ago panini "red riding hood"'; break;

		case 'panini_new03': w = 320; h = 240; videoName = 'panini_TIM_long.mov'; videoTitle = 'ago panini "long"'; break;
		
		case 'piche_new01': w = 320; h = 240; videoName = 'piche_visa_market.mov'; videoTitle = 'jean-marc piche "market"'; break;

		case 'sagy_new01': w = 320; h = 240; videoName = 'sagy_celio_nothing_to_hide.mov'; videoTitle = 'guy sagy "nothing to hide"'; break;
		
		case 'saussey_new01': w = 320; h = 240; videoName = 'saussey_2degrees_2degrees.mov'; videoTitle = 'steve saussey "2degrees"'; break;
		
		case 'shizue_new01': w = 320; h = 240; videoName = 'shizue_triumph_ecochic.mov'; videoTitle = 'shizue "eco chic"'; break;
		
		case 'shizue_new02': w = 320; h = 240; videoName = 'shizue_castello_midnight.mov'; videoTitle = 'shizue "midnight"'; break;




default: break;

	}

	

	urlName = ''; //open a blank html document as supplying '' creates a window with white background		

	//h = h + 15;  //allow space for qt controller



	//winParams = 'toolbar=no,location=no,directories=no,status=0,menubar=0,scrollbars=no,resizable=no,width=' + w + ',height=' + h;

	if (stillImage)

	{

		extraH = 50;

		winW = window.screen.width;

		winH = window.screen.height;

		if (w > winW - 40 || h > winH - 70)

		{

			videoName = videoName + 'h.jpg';

			w = w/2; h = h/2;

			//winParams = 'scrollbars=yes,resizable=yes,width=' + (winW - 16) + ',height=' + (winH - 70);

		}

		else

		{

			videoName = videoName + '.jpg';

			//winParams = 'scrollbars=no,resizable=no,width=' + (w + 20) + ',height=' + (h + extraH);

		}

	}

	else

	{

		extraH = 70;

		//winParams = 'scrollbars=no,width=' + (w + 20) + ',height=' + (h + extraH);

	}

	winParams = 'scrollbars=no,width=' + (w + 20) + ',height=' + (h + extraH);

	

	if (myWindow != null)

	{

		if (!myWindow.closed)

		{

			myWindow.close();

		}

	}



	myWindow = window.open(urlName, 'winName' + winCount, winParams);



	winCount++;

	//if (winCount == 3)

	//{

	//	winCount = 1;

	//}

	

	

	if (icecandyMovie)

	{

		relPrefix = './';

		videoRoot = './movie/icecandy/';

	}

	else

	{

		if (videoCode.indexOf('new') > -1)  //videoCode contains 'new' and so is a New Work video file

		{

			relPrefix = './';

			videoRoot = './movie/new_work/';

		}

		else

		{

			relPrefix = '../../';

			videoRoot = '../../movie/';

		}

	}

	videoName = videoRoot + videoName;

	d = myWindow.document;

	//d.open();

	d.write('<html>');

	d.write('<head>');

	d.write('<title>Transparent</title>');

	d.write('<link rel="stylesheet" type="text/css" href="' + relPrefix + 'script/text.css">');

	d.write('</head>');

	d.write('<body class="bodySetting">');

	d.write('<table width="' + (w + 20) + '" height="' + (h + extraH) + '" border="0" align="left" cellpadding="0" cellspacing="0">');

	d.write('<tr valign="middle">');

	d.write('<td align="center" height="50"  background="' + relPrefix + 'pic/common/popup_logo.gif"><p class="t_mode9">' + videoTitle + '</p></td>');

	d.write('</tr>');

	d.write('<tr valign="top">');

	if (stillImage)

	{

		d.write('<td align="center"><img src="' + videoName + '" width="' + (w + 20) + '" height="' + h + '"></td>');

	}

	else  //movie file

	{

		d.write('<td align="center"><OBJECT classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="' + w + '" height="' + (h + 15) + '" id="movie1" ><PARAM name="src" value="' + videoName + '"><param name="controller" value="true"><param name="volume" value="255"><EMBED width="' + w + '" height="' + (h + 15) + '" src="' + videoName + '" name="movie1" enablejavascript="true" controller="true" volume="255"></EMBED></OBJECT></td>');

		//d.write('<td align="center"><embed src="' + videoName + '" width="320" height="255"></embed></td>');

	}

	d.write('</tr>');

	d.write('<tr>');

	if (!stillImage)

	{

		d.write('<td align="center"><img src="' + relPrefix + 'pic/common/spacer.gif" width="' + (w + 20) + '" height="5"></td>');

	}

	d.write('</tr>');

	d.write('</table>');

	d.write('</body>');

	d.write('</html>');

	d.close();

}

		