

// runSWF with transparency and colur background control - modified Derek Dixon 2006//

function runFlashbanner()
{
//alert("last");
// ---modify parameters ----------------
// --start--------------------------------------------------
//var file="images/top_banner.swf"; // name of swf file (path included)
var file="../static/swf/topBanner.swf";
var name="flashmovie"; // name 
var width="820px";  // width swf en pixels or percentage
var height="140px";  // height swf en pixels or percentage
var version="8,0,0,0"; // version flash player
var quality="high"; // quality
var bgcolor="000000"; // color background of swf file
var scriptaccess="always"; // script for outbound scripting - never/always/sameDomain
var wmode="opaque" // transparent / opaque
// --end--------------------------------------------------
 document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version='+version+'" ID='+name+' width='+width+' height='+height+'>\n');
 document.write('<param name="movie" value='+file+' />\n');
 document.write('<param name="quality" value='+quality+'>\n');
  document.write('<param name="bgcolor" value='+bgcolor+'>\n');
document.write('<param name="allowScriptAccess" value='+scriptaccess+'>\n');
 document.write('<param name="wmode" value='+wmode+'>\n');
 document.write('<embed src='+file+' name='+name+' bgcolor='+bgcolor+' quality='+quality+' wmode='+wmode+' allowScriptAccess='+scriptaccess+' pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width='+width+' height='+height+'></embed>');
 document.write('</object>\n');
}

function runFlashMenu(languageCode)
{
//alert("last2"+languageCode);
// ---modify parameters ----------------
// --start--------------------------------------------------
//var file="images/menu_1.swf?xmlfilename=xml/menu.xml"; // name of swf file (path included)
var file="../static/swf/menu_"+languageCode+".swf?xmlfilename=../static/xml/menu.jsp?language="+languageCode+"&&cssfilename=../static/css/flash_"+languageCode+".css";
var name="flashmovie"; // name 
var width="230px";  // width swf en pixels or percentage
var height="545px";  // height swf en pixels or percentage
var version="8,0,0,0"; // version flash player
var quality="high"; // quality
var bgcolor="000000"; // color background of swf file
var scriptaccess="always"; // script for outbound scripting - never/always/sameDomain
var wmode="opaque" // transparent / opaque
// --end--------------------------------------------------
 document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version='+version+'" ID='+name+' width='+width+' height='+height+'>\n');
 document.write('<param name="movie" value='+file+' />\n');
 document.write('<param name="quality" value='+quality+'>\n');
  document.write('<param name="bgcolor" value='+bgcolor+'>\n');
document.write('<param name="allowScriptAccess" value='+scriptaccess+'>\n');
 document.write('<param name="wmode" value='+wmode+'>\n');
 document.write('<embed src='+file+' name='+name+' bgcolor='+bgcolor+' quality='+quality+' wmode='+wmode+' allowScriptAccess='+scriptaccess+' pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width='+width+' height='+height+'></embed>');
 document.write('</object>\n');
}

function runFlashMenuLast(languageCode)
{
// ---modify parameters ----------------
// --start--------------------------------------------------
//alert('languageCode -->'+languageCode)
var file="../static/swf/LastPageMenu_"+languageCode+".swf?xmlfilename=../static/xml/menu.jsp?language="+languageCode+"&&cssfilename=../static/css/flash_"+languageCode+".css";
//var file="../static/swf/LastPageMenu_"+languageCode+".swf?xmlfilename=../static/xml/menu.xml&cssstring=flashsplash.css"; 
var name="fhttp://204.128.192.133:8080/lashmovie"; // name 
var width="230px";  // width swf en pixels or percentage
var height="200px";  // height swf en pixels or percentage
var version="8,0,0,0"; // version flash player
var quality="high"; // quality
var bgcolor="000000"; // color background of swf file
var scriptaccess="always"; // script for outbound scripting - never/always/sameDomain
var wmode="opaque" // transparent / opaque
// --end--------------------------------------------------
 document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version='+version+'" ID='+name+' width='+width+' height='+height+'>\n');
 document.write('<param name="movie" value='+file+' />\n');
 document.write('<param name="quality" value='+quality+'>\n');
  document.write('<param name="bgcolor" value='+bgcolor+'>\n');
document.write('<param name="allowScriptAccess" value='+scriptaccess+'>\n');
 document.write('<param name="wmode" value='+wmode+'>\n');
 document.write('<embed src='+file+' name='+name+' bgcolor='+bgcolor+' quality='+quality+' wmode='+wmode+' allowScriptAccess='+scriptaccess+' pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width='+width+' height='+height+'></embed>');
 document.write('</object>\n');
}

function runFlashPrize()
{
// ---modify parameters ----------------
// --start--------------------------------------------------
var file="../static/swf/prizes_uk.swf"; // name of swf file (path included)
var name="fhttp://204.128.192.133:8080/lashmovie"; // name 
var width="545px";  // width swf en pixels or percentage
var height="110px";  // height swf en pixels or percentage
var version="8,0,0,0"; // version flash player
var quality="high"; // quality
var bgcolor="000000"; // color background of swf file
var scriptaccess="always"; // script for outbound scripting - never/always/sameDomain
var wmode="opaque" // transparent / opaque
// --end--------------------------------------------------
 document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version='+version+'" ID='+name+' width='+width+' height='+height+'>\n');
 document.write('<param name="movie" value='+file+' />\n');
 document.write('<param name="quality" value='+quality+'>\n');
  document.write('<param name="bgcolor" value='+bgcolor+'>\n');
document.write('<param name="allowScriptAccess" value='+scriptaccess+'>\n');
 document.write('<param name="wmode" value='+wmode+'>\n');
 document.write('<embed src='+file+' name='+name+' bgcolor='+bgcolor+' quality='+quality+' wmode='+wmode+' allowScriptAccess='+scriptaccess+' pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width='+width+' height='+height+'></embed>');
 document.write('</object>\n');
}

function runSWFindex(languageCode)
{
//alert("fun inside --->"+languageCode);
//var file="../static/swf/menu.swf?xmlfilename=../static/xml/menu.jsp?language="+languageCode+"&&cssfilename=../static/css/flash.css";
//var file="../static/swf/intro1.swf?xmlfilename=../static/xml/menu.jsp?language="+languageCode+"&&cssfilename=../static/css/flash.css"; // name of swf file (path included)

//var file="../static/swf/intro1.swf?xmlstring=../static/xml/intro.xml&cssstring =../static/css/flashsplash.css&teststring=hello";
var file="../static/swf/"+"intro_"+languageCode+".swf?xmlstring=../static/xml/intro2.jsp?language="+languageCode+"&cssstring =../static/css/flashsplash.css";
var name="fhttp://204.128.192.133:8080/lashmovie"; // name 
var width="918px";  // width swf en pixels or percentage
var height="726px";  // height swf en pixels or percentage
var version="8,0,0,0"; // version flash player
var quality="high"; // quality
var bgcolor="000000"; // color background of swf file
var scriptaccess="always"; // script for outbound scripting - never/always/sameDomain
var wmode="opaque" // transparent / opaque
// --end--------------------------------------------------
 document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version='+version+'" ID='+name+' width='+width+' height='+height+'>\n');
 document.write('<param name="movie" value='+file+' />\n');
 document.write('<param name="quality" value='+quality+'>\n');
  document.write('<param name="bgcolor" value='+bgcolor+'>\n');
document.write('<param name="allowScriptAccess" value='+scriptaccess+'>\n');
 document.write('<param name="wmode" value='+wmode+'>\n');
 document.write('<embed src='+file+' name='+name+' bgcolor='+bgcolor+' quality='+quality+' wmode='+wmode+' allowScriptAccess='+scriptaccess+' pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width='+width+' height='+height+'></embed>');
 document.write('</object>\n');
}

function runFlashprize_main(languageCode)
{
// ---modify parameters ----------------
// --start--------------------------------------------------
var file="../static/swf/prizes_main_"+languageCode+".swf"; // name of swf file (path included)
var name="fhttp://204.128.192.133:8080/lashmovie"; // name 
var width="590px";  // width swf en pixels or percentage
var height="545px";  // height swf en pixels or percentage
var version="8,0,0,0"; // version flash player
var quality="high"; // quality
var bgcolor="C00000"; // color background of swf file
var scriptaccess="always"; // script for outbound scripting - never/always/sameDomain
var wmode="opaque" // transparent / opaque
// --end--------------------------------------------------
 document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version='+version+'" ID='+name+' width='+width+' height='+height+'>\n');
 document.write('<param name="movie" value='+file+' />\n');
 document.write('<param name="quality" value='+quality+'>\n');
  document.write('<param name="bgcolor" value='+bgcolor+'>\n');
document.write('<param name="allowScriptAccess" value='+scriptaccess+'>\n');
 document.write('<param name="wmode" value='+wmode+'>\n');
 document.write('<embed src='+file+' name='+name+' bgcolor='+bgcolor+' quality='+quality+' wmode='+wmode+' allowScriptAccess='+scriptaccess+' pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width='+width+' height='+height+'></embed>');
 document.write('</object>\n');
}


