var Ajax_Wheel;
var lang="fr";
var idaffiliation=100254;
var wof_title="Roue de la fortune";
var rules_title="Règlement du jeu concours :";
function incFile(script_filename) {
document.write('<'+'script type="text/javascript" src="'+script_filename+'"'+'>');
document.write('<'+'/script'+'>');
}
incFile("http://fcg.casino770.com/ajax/wheel/js/ajax_handler.js");
incFile("http://fcg.casino770.com/ajax/wheel/js/swfobject.js");
incFile("http://fcg.casino770.com/ajax/wheel/js/wheel_pwm.js");
incFile("http://fcg.casino770.com/ajax/wheel/js/AJS.js");
incFile("http://fcg.casino770.com/ajax/wheel/js/AJS_dnd.js");
document.write('
');
document.write("

");
document.write('
');
document.write('');
document.write('
 |  | ');
document.write('');
document.write('| ');
document.write(wof_title+' | '+rules_title+' | | ');
document.write('');
document.write(' | ');
document.write('
|
');
document.write('
');
document.write('
');
document.write('
');
document.write('<'+'script'+'>');
document.write('var x,y;');
document.write('var test1=document.body.scrollHeight;');
document.write('var test2=document.body.offsetHeight;');
document.write('if(test1>test2){x=document.body.scrollHeight;y=document.body.scrollWidth;}');
document.write('else{x=document.body.offsetHeight;y=document.body.offsetWidth;}');
//document.write('alert(x);alert(y);');
//document.write('new_x=x/2-260;new_y=y/2-290;');
document.write('new_x=0;new_y=y/2-265;');
document.write('var wheel_div_pos=document.getElementById("wheel_div");');
document.write('wheel_div_pos.style.top=new_x;wheel_div_pos.style.left=new_y;');
document.write('var wheel_rules_div_pos=document.getElementById("wheel_rules_div");');
document.write('wheel_rules_div_pos.style.top=0;wheel_rules_div_pos.style.left=0;');
// nasty nasty hack for IE because without the timeout it loads
// this line before the AJS file could be parsed in the memory, and gives us an
// AJS object undefined error
document.write('setTimeout('+"'"+'AJS.dnd.dragAble("wheel_div",{handler:"wheel_div_drg"})'+"'"+', 2000);');
document.write(''+'script'+'>');