varimgTag='<?php bloginfo('template_directory'); ?>/images/1.gif';//add tag image.
varimgClearOff='<?php bloginfo('template_directory'); ?>/images/3a.gif';//no comic tagged, clear not possible
varimgGotoOff='<?php bloginfo('template_directory'); ?>/images/2a.gif';//no comic tagged, goto not possible
varimgClearOn='<?php bloginfo('template_directory'); ?>/images/3.gif';//clear a tag, shows when comic previously tagged
varimgGotoOn='<?php bloginfo('template_directory'); ?>/images/2.gif';//shows when a comic is tagged
varimgInfo='<?php bloginfo('template_directory'); ?>/images/4.gif';//img that displays the help
varcomicDir='/';//alter this if you run multiple comics in different directories on your site.
/* Now write out the applicable links */
createCookie('t',1);
varc=readCookie('t');
if(c&&document.getElementById){
varl=readCookie('bm');
vargt=imgGotoOff;
varct=imgClearOff;
if(l){
gt=imgGotoOn;
ct=imgClearOn;
}
document.write('<div id="bmh" style="width: 173px; margin: 15px 0 0 0; padding: 5px; position: absolute; color: #eee; font-size: 11px; background-color:#222; border: 1px solid #ccc; visibility: hidden;"><strong>COMIC BOOKMARK</strong><br />Click "Tag Page" to bookmark a comic page. When you return to the site, click "Goto Tag" to continue where you left off.</div>');
<?phpif(is_home()){?>
document.write('<a href="#" onClick="bmhome();return false;"><img src="'+imgTag+'" alt="Tag This Page" border="0"></a>');
$widget_ops=array('classname'=>'widget_comicpress_bookmark','description'=>'Creates a set of buttons that let the user return to the page they tagged.');