var time = new Date();
randnum = (time.getTime());
function print_date() {
d = new Array(
"Sunday",
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday",
"Saturday"
);
m = new Array(
"January",
"February",
"March",
"April",
"May",
"June",
"July",
"August",
"September",
"October",
"November",
"December"
);
today = new Date();
day = today.getDate();
year = today.getYear();
if (year < 2000)
year = year + 1900;
document.write(d[today.getDay()]+", "+m[today.getMonth()]+" " + day+", "+year);
}
var isDOM = (document.getElementById) ? 1 : 0;
var isNS4 = (document.layers && !isDOM) ? 1 : 0;
var isIE4 = (document.all) ? 1 : 0;
//onload = start;
rotate_id = '';
function start_rotate(id) {
rotate_id = id;
if (ar.length > 0) {
display_rotate(rotate_id);
if (ar.length > 1) {
setInterval("display_rotate(rotate_id)", 20000); // Set dely in miliseconds 10000 (ms) = 10 (sec);
}
}
}
function display_rotate(id) {
var str;
str = ar[ar_idx++];
if (ar_idx == ar.length) ar_idx = 0;
if (isDOM) {
document.getElementById(id).innerHTML = str;
}
else if (isNS4) {
with (document[id].document) {
open();
write(str);
close();
}
} else {
document.all[id].innerHTML = str;
}
}
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
function MM_openBrWindowSmall(theURL,winName) { //v2.0
window.open(theURL,winName,'width=640,height=420,left=100,top=100,scrollbars,resizable,');
}
function addBookmark(title,url) {
if (window.sidebar) {
window.sidebar.addPanel(title, url,"");
} else if( document.all ) {
window.external.AddFavorite( url, title);
} else if( window.opera && window.print ) {
return true;
}
}
function Certify() {
popupWin = window.open('http:\/\/www.bbbonline.org/cks.asp?id=6101999032344', 'Participant', 'location,scrollbars,width=450,height=300')
window.name = 'opener';
}
function get_element(id) {
return document.getElementById ? document.getElementById(id):
document.all ? document.all(id):
document.layers ? document.layers[id] : null;
}
function show_newstab (tab) {
var navObj, contObj, oldnav, oldcont, id;
if (tab == curr_tab) return false;
navObj = get_element(tab+"btn");
contObj = get_element(tab+"cont");
oldnav = get_element(curr_tab+"btn");
oldcont = get_element(curr_tab+"cont");
if (!navObj || !contObj || !oldnav || !oldcont) return false;
oldnav.className = "";
oldcont.className = "hide";
navObj.className = "current";
contObj.className = "show";
curr_tab = tab;
return true;
}
function ext_poll_files (poll_type) {
var time = new Date();
randnum = (time.getTime());
document.write('');
document.write('');
document.write('');
}