Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script language="javascript" type="text/javascript">
- function popup(mylink, windowname)
- {
- if (! window.focus)return true;
- var href;
- if (typeof(mylink) == 'string')
- href=mylink;
- else
- href=mylink.href;
- window.open(href, windowname, 'width=500,height=400,scrollbars=yes,resizeable=yes');
- return false;
- }
- function popup_filename() {
- var filenames = [
- "autopopup-sunday.html",
- "autopopup-monday.html",
- "autopopup-tuesday.html",
- "autopopup-wednesday.html",
- "autopopup-thursday.html",
- "autopopup-friday.html",
- "autopopup-saturday.html"
- ];
- var d = new Date();
- var n = d.getDay();
- return filenames[n];
- }
- </script>
- </head>
- <BODY onLoad="popup(popup_filename(), 'ad')">
Add Comment
Please, Sign In to add comment