﻿/*
 Copyright chakree.in
*/

var flashversion = new Object();
// ---------------------------------------------------------  MODIFY TARGET URL
flashversion.ad_url = escape('http://www.chakree.in/flash.htm');     // Change URL to be redirected to when clicking Peel Away Ad
// ---------------------------------------------------------  END TARGET URL


flashversion.small_path = 'http://www.chakree.in/flashversion.swf';		//    Enter the URL of the Peel Away Corner Flash
flashversion.small_image = escape('http://www.chakree.in/flashversion1.swf');	//   URL of the Image behind the Peel
flashversion.big_path = 'http://www.chakree.in/flashversion2.swf';				//   Enter the URL of the Large Peel Away Corner
flashversion.big_image = escape('http://www.chakree.in/flashversion.gif');     //   URL of the Big Image Behind the Peel


// Do NOT Change anything under this line---------------FINISHED----STOP----------------------------------------------------------

flashversion.small_width = '100';
flashversion.small_height = '100';
flashversion.small_params = 'ico=' + flashversion.small_image;
flashversion.big_width = '650';
flashversion.big_height = '650';
flashversion.big_params = 'big=' + flashversion.big_image + '&ad_url=' + flashversion.ad_url;
function sizeup987(){
	document.getElementById('flashversioncornerBig').style.top = '0px';
	document.getElementById('flashversioncornerSmall').style.top = '-1000px';
}
function sizedown987(){
	document.getElementById("flashversioncornerSmall").style.top = "0px";
	document.getElementById("flashversioncornerBig").style.top = "-1000px";
}
flashversion.putObjects = function () {
document.write('<div id="flashversioncornerSmall" style="position:absolute;width:'+ flashversion.small_width +'px;height:'+ flashversion.small_height +'px;z-index:9999;right:0px;top:0px;">');
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');
document.write('codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"');
document.write(' id="flashversioncornerSmallObject" width="'+flashversion.small_width+'" height="'+flashversion.small_height+'">');
document.write(' <param name="allowScriptAccess" value="always"/> ');
document.write(' <param name="movie" value="'+ flashversion.small_path +'?'+ flashversion.small_params +'"/>');
document.write(' <param name="wmode" value="transparent" />');
document.write(' <param name="quality" value="high" /> ');
document.write(' <param name="FlashVars" value="'+flashversion.small_params+'"/>');
document.write('<embed src="'+ flashversion.small_path + '?' + flashversion.small_params +'" name="flashversioncornerSmallObject" wmode="transparent" quality="high" width="'+ flashversion.small_width +'" height="'+ flashversion.small_height +'" flashvars="'+ flashversion.small_params +'" allowscriptaccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>');
document.write('</object></div></script>');
document.write('<div id="flashversioncornerBig" style="position:absolute;width:'+ flashversion.big_width +'px;height:'+ flashversion.big_height +'px;z-index:9999;right:0px;top:0px;">');
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');
document.write('codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"');
document.write(' id="flashversioncornerBigObject" width="'+ flashversion.big_width +'" height="'+ flashversion.big_height +'">');
document.write(' <param name="allowScriptAccess" value="always"/> ');
document.write(' <param name="movie" value="'+ flashversion.big_path +'?'+ flashversion.big_params +'"/>');
document.write(' <param name="wmode" value="transparent"/>');
document.write(' <param name="quality" value="high" /> ');
document.write(' <param name="FlashVars" value="'+ flashversion.big_params +'"/>');
document.write('<embed src="'+ flashversion.big_path + '?' + flashversion.big_params +'" id="flashversioncornerBigEmbed" name="flashversioncornerBigObject" wmode="transparent" quality="high" width="'+ flashversion.big_width +'" height="'+ flashversion.big_height +'" flashvars="'+ flashversion.big_params +'" swliveconnect="true" allowscriptaccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>');
document.write('</object></div>');
setTimeout('document.getElementById("flashversioncornerBig").style.top = "-1000px";',1000);
}
flashversion.putObjects();
