document.write('<style type="text/css">'+'#unlayout { top:-1000px; }');
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// DECLARATION OF ALL THE PARAMETERS TO BE PASSED TO THE FLASH PEEL 
//DISPLAY FREQUENCY enter 1 to always display, 2 for ONCE per browser session
var displaymode=2000
//AUTO HIDE Set duration PellAwayAd should appear on screen, in milliseconds (10000=10 sec, 0=perpetual)
var displayduration=0
//AUTO SCROLL Should PeelAwayAd scroll down page as user scrolls? true=scroll false=don't scroll
var allowscroll=false
// TOP PLACEMENT value How many pixels from Top should Peel be dislpayed
var top = "0px";
// RIGHT PLACEMENT How many pixels from right should Peel be displayed
var right = "0px";
// PEEL DELAY set time delay to show peel in millisecond (10000=10 sec, 0=instantly)
var delay = '0';
// ROTATING SMALL IMAGES - To set small image or swf files for small peel background
smallimg = new Array();
smallimg[0]= 'images/covers3.jpg';
smallimg[1]= 'images/covers3.jpg'; 
smallimg[2]= 'images/covers3.jpg';
smallimg[3]= 'images/covers3.jpg';
// SMALL SCROLLING TEXT To set the text scrolling on the smaller flash
var scrolltxtsmall = "";
// SMALL FONT - To set the font size of the text scrolling on the smaller flash
var txtsizesmall = "10";
//SMALL COLOR - To set the text color of the text scrolling on the smaller flash
var textcolorsmall = "FF0000";
// ROTATING BACKGROUND IMAGES - To set bigger image or swf files
bigimg = new Array();
bigimg[0] = "images/big.gif";
bigimg[1] = "images/big.gif";
bigimg[2] = "images/big.gif";
bigimg[3] = "images/big.gif";
// ROTATING URLs - To set URL which will open on click of bigger flash
urlval = new Array();
urlval[0] = "http://www.the-photography-studio.co.uk/portrait_studio_photography.php?page=prices";
urlval[1] = "http://www.the-photography-studio.co.uk/portrait_studio_photography.php?page=prices";
urlval[2] = "http://www.the-photography-studio.co.uk/portrait_studio_photography.php?page=prices";
urlval[3] = "http://www.the-photography-studio.co.uk/portrait_studio_photography.php?page=prices";
// OPEN IN SAME WINDOW - To set whether the URL will open in a new window or same window
var owindow = "self" // to open in a new blank window - blank ; to open in the same window - self
// BIG SCROLLING TEXT To set the text scrolling on the bigger flash
var scrolltxtbig = "";
// BIG TEXT FONTTo set the font size of the text scrolling on the bigger flash
var txtsizebig = "50";
// BIG TEXT COLORTo set the text color of the text scrolling on the bigger flash
var textcolorbig = "00FF00";
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
///////////////////                  DO NOT CHANGE ANYTHING AFRTER THIS COMMENT              /////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
if (navigator.appVersion.indexOf('nd') != -1 || navigator.appName.indexOf('ro') != -1) 
	{ 	
	document.write('#cvlayout { top:'+top+'; right:'+right+'; } #unlayout { right:'+right+'; }');
	} 
	else 
	{ 
	//alert(right);
	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; 		
	}
}
function pgcover(command, args) 
{ 
	if (command == 'act_ppc') 
	{ 
	cvlayout.style.top = top;
	unlayout.style.top = '-1000px'; 
	}
}
var message='<div id="cvlayout" style="position:absolute; width:100px; height:100px; 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="100" height="100">'+'<param name="allowScriptAccess" value="always"><param name="movie" value="cover.swf"><param name="wmode" value="transparent"><param name="FlashVars" value="smallimg='+smallimg+'&scrolltxtsmall='+scrolltxtsmall+'&txtsizesmall='+txtsizesmall+'&textcolorsmall='+textcolorsmall+'&delay='+delay+'">'+'<embed src="cover.swf" id="cover" name="cover" wmode="transparent" flashvars="smallimg='+smallimg+'&scrolltxtsmall='+scrolltxtsmall+'&txtsizesmall='+txtsizesmall+'&textcolorsmall='+textcolorsmall+'&delay='+delay+'" width="100" height="100" allowscriptaccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>'+'</object>'+'</div>'+'<div id="divSub0">'+'</div>'+'<div id="unlayout" style="position:absolute; height:543px; width:543px; 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="543" height="543">'+'<param name="allowScriptAccess" value="always"><param name="movie" value="uncover.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="uncover.swf" wmode="transparent" width="543" height="543" flashvars="bigimg='+bigimg+'&urlval='+urlval+'&window='+owindow+'&scrolltxtbig='+scrolltxtbig+'&txtsizebig='+txtsizebig+'&textcolor='+textcolorbig+'&yaxis=0" id="uncover" name="uncover" allowscriptaccess="always" type="application/x-shoc

