Create javascript popup windows easily and efficiently using this generator. Insert the following code in the head section of your html page, it might be better to have it as an external file.
The beauty of this script is that you do not need to modify the script in any way as the variables are called with each link making the popup unique. You are also able to open the popup in a new window as the url is in the href section (preventing any dead links) and therefore allowing search engines to crawl the page.<script language="javascript" type="text/javascript"><!--
// http://www.toseef.com/200502-javascript-popup-window-generator
function toseef_loadwin(f,n,t,l,d,s,m,b,r,w,h,p,e)
{
if(p==""){p=(screen.height-h)/2;}
if(e==""){e=(screen.width-w)/2;}
var toseef_loadwin=window.open(""+f+"", ""+n+"", "toolbar="+t+", location="+l+", directories="+d+", status="+s+", menubar="+m+", scrollbars="+b+", resizable="+r+", width="+w+", height="+h+", top="+p+", left="+e+""); toseef_loadwin.focus();
}
//--></script>
Variables that will be associated with your link: