var advertisement_url = "https://www.wire-sculpture.com/jewelry-making-dvds/Free_Jewelry_Instructional_DVD_Pay_Only_3_95_For_Shipping-9285-126.html"; // where you want your visitors to be delivered when they click your advar ad_image = "https://www.wire-sculpture.com/images/custom/large_LEFT.jpg"; // either .JPG or .swFvar ad_image_small = "https://www.wire-sculpture.com/images/custom/small_LEFT.jpg"; // optional. Use if you have a second image for when the page curl is closed.var whichcorner = "upperleft"; // options are "upperright" and "upperleft"var registrationKey = "845779431786815915779"; // your v2 registration keyvar target = ""; // make "_new" if you want the links to open in a new browser windowvar pathtoswf = "https://www.wire-sculpture.com/images/peel/"; // ADVANCED USE ONLY. The path to your Page Curl PRO v2 files (if not in the same directory as your .HTML file). See documentationfunction showBig(){	document.getElementById('po_pcb').style.top = "0px";	document.getElementById('po_pca').style.top = "-1000px";}function closeNow(){	document.getElementById('po_pcb').style.top = "-1000px";	document.getElementById('po_pca').style.top = "0px";}function badKey(reg){	alert("Your Page Curl Pro v2 registration key does not appear to be valid. Please visit powerupmysite.com to obtain a valid registration key for this domain.");} 	function enc(url){	return 	url.replace(/&/g,"%26");}if (whichcorner == "upperleft"){var a='<div style="top:0px;left:0px;position:absolute;width:140px;height:150px;" name="po_pca" id="po_pca" onmouseover="showBig();"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="https://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="140" height="150" id="po_pca_i" align="middle"><param name="flashvars" value="ad_image=' + ad_image + '&ad_image_small=' + ad_image_small + '&registrationKey=' + registrationKey + '&pathtoswf=' + pathtoswf + '"><param name="allowScriptAccess" value="sameDomain" /><param name="movie" value="' + pathtoswf + 'PageCurlProv2_Small_upperleft.swf" /><param name="quality" value="high" /><param name="wmode" value="transparent" /><param name="bgcolor" value="#ffffff" /><embed src="' + pathtoswf + 'PageCurlProv2_Small_upperleft.swf" flashvars="ad_image=' + ad_image + '&ad_image_small=' + ad_image_small + '&registrationKey=' + registrationKey + '&pathtoswf=' + pathtoswf +'" quality="high" wmode="transparent" bgcolor="#ffffff" width="140" height="150" name="po_pca_i" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></object></div>';var b='<div style="top:-1000px;left:0px;position:absolute;width:700px;height:700px;" name="po_pcb" id="po_pcb"  onmouseover="showBig();"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="https://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="700" height="700" id="po_pcb_i" align="middle"><param name="allowScriptAccess" value="always" /><param name="swLiveConnect" value="true"><param name="flashvars" value="openOnStart=true&registrationKey=' + registrationKey + '&url=' + enc(advertisement_url) + '&ad_image=' + ad_image + '&ad_image_small=' + ad_image_small + '&target=' + target + '&pathtoswf=' + pathtoswf + '"><param name="movie" value="' + pathtoswf + 'PageCurlProv2_upperleft.swf" /><param name="quality" value="high" /><param name="wmode" value="transparent" /><param name="bgcolor" value="#ffffff" /><embed src="' + pathtoswf + 'PageCurlProv2_upperleft.swf" quality="high" flashvars="openOnStart=true&registrationKey=' + registrationKey + '&url=' + enc(advertisement_url) + '&ad_image=' + ad_image + '&ad_image_small=' + ad_image_small + '&target=' + target + '&pathtoswf=' + pathtoswf + '" swLiveConnect="true" wmode="transparent" bgcolor="#ffffff" width="700" height="700" name="po_pcb_i" align="middle" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></object></div>';}else{var a='<div style="top:0px;right:0px;position:absolute;width:140px;height:150px;" name="po_pca" id="po_pca" onmouseover="showBig();"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="https://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="140" height="150" id="po_pca_i" align="middle"><param name="flashvars" value="ad_image=' + ad_image + '&ad_image_small=' + ad_image_small + '&registrationKey=' + registrationKey + '&pathtoswf=' + pathtoswf + '"><param name="allowScriptAccess" value="sameDomain" /><param name="movie" value="' + pathtoswf + 'PageCurlProv2_Small.swf" /><param name="quality" value="high" /><param name="wmode" value="transparent" /><param name="bgcolor" value="#ffffff" /><embed src="' + pathtoswf + 'PageCurlProv2_Small.swf" flashvars="ad_image=' + ad_image + '&ad_image_small=' + ad_image_small + '&registrationKey=' + registrationKey + '&pathtoswf=' + pathtoswf +'" quality="high" wmode="transparent" bgcolor="#ffffff" width="140" height="150" name="po_pca_i" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></object></div>';var b='<div style="top:-1000px;right:0px;position:absolute;width:700px;height:700px;" name="po_pcb" id="po_pcb"  onmouseover="showBig();"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="https://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="700" height="700" id="po_pcb_i" align="middle"><param name="allowScriptAccess" value="always" /><param name="swLiveConnect" value="true"><param name="flashvars" value="openOnStart=true&registrationKey=' + registrationKey + '&url=' + enc(advertisement_url) + '&ad_image=' + ad_image + '&ad_image_small=' + ad_image_small + '&target=' + target + '"><param name="movie" value="' + pathtoswf + 'PageCurlProv2.swf" /><param name="quality" value="high" /><param name="wmode" value="transparent" /><param name="bgcolor" value="#ffffff" /><embed src="' + pathtoswf + 'PageCurlProv2.swf" quality="high" flashvars="openOnStart=true&registrationKey=' + registrationKey + '&url=' + enc(advertisement_url) + '&ad_image=' + ad_image + '&ad_image_small=' + ad_image_small + '&target=' + target + '" swLiveConnect="true" wmode="transparent" bgcolor="#ffffff" width="700" height="700" name="po_pcb_i" align="middle" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></object></div>';}document.write(a);document.write(b);
