Modifications to use the auctiva store window in blogs
First, we need to change the base url by removing
&baseurl='+escape(location.href.substring(0, location.href.lastIndexOf('/') + 1))
and replacing it with a '
otherwise, should anyone click on an item, it will go to your blog, and give you a 404 error, ie page not found.
<SCRIPT LANGUAGE='JavaScript' type='text/javascript'>function passpara(){return '&id=372109&itembgcolor=0xFFFFFF&bordercolor=0x000006&storewindowbgcolor=0xB8D6B6&toptextcolor=0xFFFFFF&bottomtextcolor=0xFFFFFF&stripcolor=0x516BC6&auctionclosemessagecolor=0xFF0000&emptyboxmessagecolor=0xFFFFFF&buttovercolor=0x660000&buttoutcolor=0x00000A&searchtitlecolor=0xFFFFFF&searchbuttbgcolor=0xC0C0C0&searchbutttextcolor=0x000006&searchbuttbordercolor=0x000006&itemhighlightcolor=0xFFF000&navbuttonactivecolor=0x4BC1EE&navbuttonoutlinecolor=0xFF9900&navbuttoninactivebgcolor=0x000006&'}
</script>
Next, we need to do some tweaking to make it fit in the sidebar. I set my table width to 155, the width of the flash to 155, and the height of the flash to 556. Being this is a hack job, I just played with the variables until I found something that looked ok.
document.writeln('<tr><td width="155"><tr><td align="right" valign="top">');
document.writeln('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="155" HEIGHT="556" id="auctivastorewindow" ALIGN="middle">');
document.writeln('<PARAM NAME=movie VALUE="http://asw.auctiva.com/StoreWindow_VScroller.swf">');document.writeln('<PARAM NAME=FlashVars VALUE="'+passpara()+'">');
***********************
document.writeln('WIDTH="155" HEIGHT="557" NAME="auctivastorewindow" ALIGN="middle"');
document.writeln('TYPE="application/x-shockwave-flash"');document.writeln('PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">');document.writeln('</EMBED>');
document.writeln('</OBJECT>');
document.writeln('</td></tr></table>');
}
else
