//////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//													        //
//	***** START SPONSOR ADS *****		 	 	 			        		//
//**** ALL THE VARIABLES YOU CAN CONFIGURE **** 								//
//													        //
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//----------------------------------------------------------------------------------------------------------------
// 1)- set the message scrolling on the small image
//----------------------------------------------------------------------------------------------------------------
var smallTextScroll = "sample file";
//
//----------------------------------------------------------------------------------------------------------------
// 2)- set the font size of the message scrolling on the small image
//----------------------------------------------------------------------------------------------------------------
var smallTextSize = "20";
//
//----------------------------------------------------------------------------------------------------------------
// 3)- set the color for the message scrolling on the small image
//----------------------------------------------------------------------------------------------------------------
var smallTextColor = "FFD9D9";
//
//----------------------------------------------------------------------------------------------------------------
// 4)- set the path & file name for the small image
//----------------------------------------------------------------------------------------------------------------
var smallImageFile ="http://www.ozgo.net/pagepeelcornerads/images/right/right-75x75.jpg";
//
//----------------------------------------------------------------------------------------------------------------
// 5)- set the message scrolling on the big image
//----------------------------------------------------------------------------------------------------------------
var bigTextScroll = "sample file";
//
//----------------------------------------------------------------------------------------------------------------
// 6)- set the font size for the message scrolling on the bigger image
//----------------------------------------------------------------------------------------------------------------
var bigTextSize = "70";
//
//----------------------------------------------------------------------------------------------------------------
// 7)- set the color for the message scrolling on the big image
//----------------------------------------------------------------------------------------------------------------
var bigTextColor = "CC0000";
//
//----------------------------------------------------------------------------------------------------------------
// 8)- set the path & file name for the big image
//----------------------------------------------------------------------------------------------------------------
var bigImageFile = "http://www.ozgo.net/pagepeelcornerads/images/right/right-800x600.jpg";
//
//----------------------------------------------------------------------------------------------------------------
// 9)- set the URL link which will redirect when user click on the big image
//----------------------------------------------------------------------------------------------------------------
var redirectUrl = "http://www.vinasoftplus.com/";
//
//----------------------------------------------------------------------------------------------------------------
// 10)- set the target URL hyperlink whether it will be opened in a new window or on the same window
// blank = new window
// self = same window
//----------------------------------------------------------------------------------------------------------------
var targetUrl = "blank";
//
//----------------------------------------------------------------------------------------------------------------
// 11)- Set the top Yaxis position
//----------------------------------------------------------------------------------------------------------------
var top = "0px";
//
//----------------------------------------------------------------------------------------------------------------
// 12)- Set the Right Xaxis position
//----------------------------------------------------------------------------------------------------------------
var right = "1px";
//
//----------------------------------------------------------------------------------------------------------------
// 13)- set the Y axis position for the scrolling on the big image;
//----------------------------------------------------------------------------------------------------------------
var textScrollYaxis = "0";
//
//----------------------------------------------------------------------------------------------------------------
// 14)- set the path & file name for the small flash file
//----------------------------------------------------------------------------------------------------------------
var path4SmallFlash = "images/script/samplesmallright.swf";
//
//----------------------------------------------------------------------------------------------------------------
// 15)- set the path & file name for the big flash file
//----------------------------------------------------------------------------------------------------------------
var path4BigFlash = "images/script/samplebigright.swf";
//
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//													        //
//	***** DO NOT MODIFY BELOW THIS LINE *****							        //
//													        //
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//----------------------------------------------------------------------------------------------------------------
// set the width of the small image
//----------------------------------------------------------------------------------------------------------------
var smallWidth = "75";
//
//----------------------------------------------------------------------------------------------------------------
// set the height of the small image
//----------------------------------------------------------------------------------------------------------------
var smallHeight = "75";
//
//----------------------------------------------------------------------------------------------------------------
// set the width of the big image
//----------------------------------------------------------------------------------------------------------------
var bigWidth = "800";
//
//----------------------------------------------------------------------------------------------------------------
// set the height of the big image
//----------------------------------------------------------------------------------------------------------------
var bigHeight = "600";
//
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
var queryParamsSmall = 'smallImage=' + escape(smallImageFile);
    queryParamsSmall += '&smallTextScroll=' + escape(smallTextScroll);
    queryParamsSmall += '&smallTextSize=' + escape(smallTextSize);
    queryParamsSmall += '&smallTextColor='+ escape(smallTextColor);
//
var queryParamsBig = 'bigImage=' + escape(bigImageFile);
    queryParamsBig += '&redirectUrl=' + escape(redirectUrl);
    queryParamsBig += '&targetUrl=' + escape(targetUrl);
    queryParamsBig += '&bigTextScroll=' + escape(bigTextScroll);
    queryParamsBig += '&bigTextSize=' + escape(bigTextSize);
    queryParamsBig += '&bigTextColor=' + escape(bigTextColor);
    queryParamsBig += '&textScrollYaxis=' + escape(textScrollYaxis);	
//
document.write('<style type="text/css">'+'#bigRightCornerPeel { top:-1000px; }');
//
if (navigator.appVersion.indexOf('nd') != -1 || navigator.appName.indexOf('ro') != -1) 
	{ 	
	document.write('#smallRightCornerPeel { top:'+top+'; right:'+right+'; } #bigRightCornerPeel { right:'+right+'; }');
	} 
	else 
	{ 
	document.write('#smallRightCornerPeel { top:-1000px; right:'+right+'; } #bigRightCornerPeel { right:'+right+'; }');
	}
	document.write('</style>');
//
function setLayout(queryString1, queryString2, queryString3, queryString4, queryString5) 
{ 	
	document.getElementById(queryString2).style.top = queryString3; 
	document.getElementById(queryString4).style.top = queryString5; 
	if (navigator.appName.indexOf('ro')!= -1) 
	{ 
	window.resizeBy(-1,-1); window.resizeBy(1,1); 
	}
}
//
function openPagePeel(command, args)
{ 
if (command == 'as_OpenPagePeel')
	{ 
	smallRightCornerPeel.style.top = '-1000px'; 
	bigRightCornerPeel.style.top = top;
	}
}
//
function closePagePeel(command, args)
{ 
if (command == 'as_ClosePagePeel')
	{ 
	smallRightCornerPeel.style.top = top;
	bigRightCornerPeel.style.top = '-1000px'; 
	}
}

//
document.write(' <div id="smallRightCornerPeel" style="position:absolute; width:'+ smallWidth +'px; height:'+ smallHeight +'px; z-index:20001;">');
document.write(' <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"'); 
document.write(' codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"');
document.write(' id="thumbDiv" width="'+ smallWidth +'" height="'+ smallHeight+'">');
document.write(' <param name="allowScriptAccess" value="sameDomain"/>');
document.write(' <param name="movie" value="'+ path4SmallFlash +'?'+ queryParamsSmall +'"/>');
document.write(' <param name="wmode" value="transparent" />');
document.write(' <param name="quality" value="high" /> ');
document.write(' <param name="menu" value="false" /> ');
document.write(' <param name="FlashVars" value="'+ queryParamsSmall +'"/>');
document.write(' <embed src="'+ path4SmallFlash + '?' + queryParamsSmall +'" id="thumbDiv" name="thumbDiv" wmode="transparent" quality="high" menu="false" width="'+ smallWidth +'" height="'+ smallHeight +'" Flashvars="'+ queryParamsSmall +'" swliveconnect="true" allowscriptaccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>');
document.write(' </object></div>');
//
document.write(' <div id="bigRightCornerPeel" style="position:absolute; width:'+ bigWidth +'px; height:'+ bigHeight +'px; z-index:20000;">');
document.write(' <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"');
document.write(' codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"');
document.write(' id="bigDiv" width="'+ bigWidth +'" height="'+ bigHeight +'">');
document.write(' <param name="allowScriptAccess" value="sameDomain"/>');
document.write(' <param name="movie" value="'+ path4BigFlash +'?'+ queryParamsBig +'"/>');
document.write(' <param name="wmode" value="transparent" />');
document.write(' <param name="quality" value="high" /> ');
document.write(' <param name="menu" value="false" /> ');
document.write(' <param name="FlashVars" value="'+ queryParamsBig +'"/>');
document.write(' <embed src="'+ path4BigFlash + '?' + queryParamsBig +'" id="bigDiv" name="bigDiv" wmode="transparent" quality="high" menu="false" width="'+ bigWidth +'" height="'+ bigHeight +'" Flashvars="'+ queryParamsBig +'" swliveconnect="true" allowscriptaccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>');
document.write(' </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');
	document.write('On Error Resume Next\n');
	document.write('Sub thumbDiv_FSCommand(ByVal command, ByVal args)\n');
	document.write('Call openPagePeel(command, args)\n');
	document.write('End Sub\n');
	document.write('Sub bigDiv_FSCommand(ByVal command, ByVal args)\n');
	document.write('Call closePagePeel(command, args)\n');
	document.write('End Sub\n');
	document.write('</script>\n');
}