//****YOU MAY NOT REMOVE THIS HEADER*****************DO NOT REMOVE*******************************
//Written Article Rotater written by John Farquharson Completed Fri Jan 12 2007 @ 10:43 PM EDST.*
//This script is Copyright John Farquharson MMVII (2007) Author continues to hold all right to  *
//ownership of this script. Script May Not Be Used Without My Express Written Permission        *
//****YOU MAY NOT REMOVE THIS HEADER*****************DO NOT REMOVE*******************************

document.write("<table border='0' background='teal' cellpadding='0' cellspacing='0' width='180'><tr><td>");
document.write("<form name='my_form' action=''>");
document.write("<p align='center'><iframe src='' name='the_article' frameborder='0' width='178' height='210' align='top' style='background:#FFFFFF'></iframe>");
document.write("<hr width='90%' size='1' color='#ffffff'><center><SPAN CLASS='T7'>Copyright Notice: \"Safety Bulletins\" articles published <br>within are Copyright© 2009 <br>locksmithtoronto.net <br>reproduction in whole or part <br>is expressly forbidden</span>");
document.write("</form></tr></td></table><br>");

var my_articles = [ "Scripts/article_0001.html", "Scripts/article_0002.html", "Scripts/article_0003.html", "Scripts/article_0004.html" ];
var random_number = Math.floor(Math.random() *4)

function doCalc(){
     if (random_number > my_articles.length)
     {
     random_number = Math.floor(Math.random() *4)
     }
     if (random_number <= my_articles.length)
     {
the_article.location = my_articles[random_number];
the_article.style = 'border:none';}
}doCalc();