If you go to this page of my website http://mojapozadina.com/preview/11406/1024x768/sareni-kokteli
and click on "Instructions" button on the top right side, it should pop-up message.
But once it pop-op message window then it goes to my homepage .
I dont want that clicking on "instructions" button do action redirecting to homepage.
This is all code for this page
Please somebody tell me what to fix to prevent this happening
<body><div style="width:<?php echo $page_width;?>px;margin:auto;">
<div class="preview_wallpaper_header">
<div style="float:left;"><a href="http://mojapozadina.com"> <img src="<?php echo $setting['site_url'].$setting['template_… alt="logo" /></div>
<div class="preview_wallpaper_instructions" id="showInstructions"></div>
<div style="float:right; margin:0 10px;">
<a href="<?php echo $wallpaper['download_url'];?>">
<img src="<?php echo $setting['site_url'].$setting['template_… alt="Download" />
</a>
</div>
<div style="float:right;"><a href="<?php echo $wallpaper['url']; ?>"><img src="http://mojapozadina.com/images/back… alt="backtowallpaper" /></a></div>
<div id="preview_instructions"><?php echo $wallpaper['instructions']; ?></div>
<!--div class="preview_wallpaper_left">
<div class="preview_wallpaper_name">
<?php// echo '<a href="'.$wallpaper['url'].'">'.$wallpape… ?>
</div>
<div class="preview_wallpaper_info">
<a href="<?php// echo $wallpaper['download_url'];?>"><?php// echo DOWNLOAD;?></a>
<?php// echo DOWNLOAD_INFO;?>
</div>
</div-->
<script language="javascript">
function hidediv()
{
document.getElementById('preview_in… = 'none';
}
</script>
<?php if ($width <= '1200') {
echo '<br style="clear:both" /><div class="preview_wallpaper_right_short">';
}
else {
echo '<div class="preview_wallpaper_right">';
}
?>
<?php advert('advert_8'); ?>
</div>
</div>
<?php $wallpaper['preview'] = $wallpaper['image']; ?>
<img src="<?php echo $wallpaper['preview'];?>"/>
</body></div>
</html>

