
////////////////////////////////////////////////////////////////////////////////
// PEELAWAYADS V2.0 
// FOR SUPPORT VISIT WWW.PEELAWAYADS.COM/SUPPORT
////////////////////////////////////////////////////////////////////////////////
if(document.getElementById("usepagepeel").value == "on"){
document.write('<style type="text/css">'+'#unlayout { top:-1000px; }');
///////////////////////////////////////////////////////////////////////////////
//
//            **** HERE ARE ALL THE VARIABLES YOU CAN CONFIGURE **** 
//
// To Set Top placement value
var top = "0px"
//
// To Set Right side placement value
var right = "1px"
//
// To set small image file
var smallimg =escape(document.getElementById("hsmall").value)
//
// To set the text scrolling on the smaller flash
//UBMS-188 Removed the text "Your buyers expect the best in home entertainment"
var scrolltxtsmall = " "
//
// To set the font size of the text scrolling on the smaller flash
var txtsizesmall = "20"
//
// To set the text color of the text scrolling on the smaller flash
var textcolorsmall = "000000"
//
// To set bigger image file
var bigimg = escape(document.getElementById("hlarge").value)
//
// To set URL which will open on click of bigger flash
//var urlval = "http://ad.doubleclick.net/clk;203367675;18862293;r?http://ad.doubleclick.net/click;h=v2|39A0|0|0|%2a|n;203297720;0-0;0;27131811;31-1|1;26641474|26659331|1;;%3fhttp://communaltv.sky.com/newBuild.aspx"
var urlval = document.getElementById("hurl").value 
//
// Doubleclick Zone Click Command to track peelbacks
//var peelrecord = "http://ad.doubleclick.net/clk;151421399;18862226;j?#"
// var peelrecord = "http://www.google.co.uk"
//
// To set whether the URL will open in a new window or same window
var owindow = "blank" // to open in a new blank window - blank ; to open in the same window - self
//
// To set the text scrolling on the bigger flash
var scrolltxtbig = ""
//
// To set the font size of the text scrolling on the bigger flash
var txtsizebig = ""
//
// To set the text color of the text scrolling on the bigger flash
var textcolorbig = ""
//
//
///////////////////////////////////////////////////////////////////////////////////////
if (navigator.appVersion.indexOf('nd') != -1 || navigator.appName.indexOf('ro') != -1) 
	{ 	
	document.write('#cvlayout { top:'+top+'; right:'+right+'; } #unlayout { right:'+right+'; }');
	} 
	else 
	{ 
	document.write('#cvlayout { top:-1000px; right:'+right+'; } #unlayout { right:'+right+'; }');
	}
	document.write('</style>');
function setpos(param1, param2, param3, param4, param5) 
{ 	
	document.getElementById(param2).style.top = param3; 
	document.getElementById(param4).style.top = param5; 
	if (navigator.appName.indexOf('ro')!= -1) 
	{ 
	window.resizeBy(-1,-1); window.resizeBy(1,1); 
	}
}
function pguncover(command, args) 
{ 
if (command == 'act_ppo') 
	{ 
	cvlayout.style.top = '-1000px'; 
	unlayout.style.top = top; 
//	location.href=peelrecord; 		
	}
}
function pgcover(command, args) 
{ 
	if (command == 'act_ppc') 
	{ 
	cvlayout.style.top = top;
	unlayout.style.top = '-1000px'; 
	}
}
document.write('<div id="cvlayout" style="position:absolute; width:75px; height:75px; z-index:19001;">'+'<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" id="cover" width="75" height="75">'+'<param name="allowScriptAccess" value="always"><param name="movie" value="/conferences-theme/images/image/smalltopr.swf"><param name="wmode" value="transparent"><param name="FlashVars" value="smallimg='+smallimg+'&scrolltxtsmall='+scrolltxtsmall+'&txtsizesmall='+txtsizesmall+'&textcolor='+textcolorsmall+'">'+'<embed src="/conferences-theme/images/image/smalltopr.swf" id="cover" name="cover" wmode="transparent" flashvars="smallimg='+smallimg+'&scrolltxtsmall='+scrolltxtsmall+'&txtsizesmall='+txtsizesmall+'&textcolor='+textcolorsmall+'"width="75" height="75" allowscriptaccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>'+'</object>'+'</div>'+'<div id="unlayout" style="position:absolute; height:600px; width:800px; z-index:20000;">'+'<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" id="uncover" width="800" height="600">'+'<param name="allowScriptAccess" value="always"><param name="movie" value="/conferences-theme/images/image/bigtopr.swf"><param name="wmode" value="transparent"><param name="FlashVars" value="bigimg='+bigimg+'&urlval='+urlval+'&window='+owindow+'&scrolltxtbig='+scrolltxtbig+'&txtsizebig='+txtsizebig+'&textcolor='+textcolorbig+'&yaxis=0">'+'<embed src="/conferences-theme/images/image/bigtopr.swf" wmode="transparent" width="800" height="600" flashvars="bigimg='+bigimg+'&urlval='+urlval+'&window='+owindow+'&scrolltxtbig='+scrolltxtbig+'&txtsizebig='+txtsizebig+'&textcolor='+textcolorbig+'&yaxis=0" id="uncover" name="uncover" allowscriptaccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>'+'</object>'+'</div>');
if (navigator.appName && navigator.appName.indexOf('ro') != -1 && navigator.userAgent.indexOf('nd') != -1 && navigator.userAgent.indexOf('3.1') == -1)	{ 
	document.write('<script language="VBScript">\n'+'On Error Resume Next\n'+'Sub cover_FSCommand(ByVal command, ByVal args)\n'+'Call pguncover(command, args)\n'+'End Sub\n'+'Sub uncover_FSCommand(ByVal command, ByVal args)\n'+'Call pgcover(command, args)\n'+'End Sub\n'+'</script>\n');
}
}
