<!--
var delay = 4000;
var numAds = 2;
var code = new Array;
code[0] = "<img src=\"images/banner4.jpg\" alt=\"cd duplication dvd duplication cd replication dvd replication digipak promotion\" width=\"1024\" height=\"90\" border=\"0\" usemap=\"#Map\" /><map name=\"Map\" id=\"Map\"><area shape=\"rect\" coords=\"0,0,214,89\" href=\"digipak_special.html\" target=\"_blank\" alt=\"digipak special\" /><area shape=\"rect\" coords=\"221,0,426,89\" href=\"disc_wallet_special.html\" target=\"_blank\" alt=\"disc wallet special\" /><area shape=\"rect\" coords=\"445,0,630,89\" href=\"cardboard_sleeve_special.html\" target=\"_blank\" alt=\"cardboard sleeve special\" /><area shape=\"rect\" coords=\"643,0,822,89\" href=\"short_run_cd_replication.html\" target=\"_blank\" alt=\"short run cd replication\" /><area shape=\"rect\" coords=\"842,0,1022,89\" href=\"regcdrom.html\" target=\"_blank\" alt=\"cd in jewel case sales\" /></map>";
code[1] = "<img src=\"images/banner5.jpg\" alt=\"100 digipak promotion cd duplication cd replication cd printing cheap usb drive logo printing\" width=\"1024\" height=\"90\" border=\"0\" usemap=\"#Map2\" /><map name=\"Map2\" /><area shape=\"rect\" coords=\"126,0,290,90\" href=\"100_cd_digipak.html\" target=\"_blank\" /><area shape=\"rect\" coords=\"531,0,668,90\" href=\"usb-flash-drive.html\" target=\"_blank\" /></map>";
var img1 = new Image();
var img2 = new Image();
img1.src = "images/banner4.jpg";
img2.src = "image/banner5.jpg";

var numRotation = 0;
function rotateBanner()
{
	setBanner();
	setInterval("setBanner()", delay);
}
function setBanner()
{
	i = numRotation % numAds;
	var oBanner = document.getElementById('banner');
	oBanner.innerHTML = code[i];
	numRotation++;
}

function addCommas(nStr)
{
 nStr += '';
 x = nStr.split('.');
 x1 = x[0];
 x2 = x.length > 1 ? '.' + x[1] : '';
 var rgx = /(\d+)(\d{3})/;
 while (rgx.test(x1))
 {
	x1 = x1.replace(rgx, '$1' + ',' + '$2');
 }
 return x1 + x2;
}

function formatCurrency(num)
{
 num = num.toString().replace(/\$|\,/g,'');
 if (isNaN(num)) num = "0";
 sign = (num == (num = Math.abs(num)));
 num = Math.floor(num*100+0.50000000001);
 cents = num%100;
 num = Math.floor(num/100).toString();
 if (cents<10) cents = "0" + cents;
 for (var i = 0; i < Math.floor((num.length-(1+i))/3); i++) num = num.substring(0,num.length-(4*i+3))+','+ num.substring(num.length-(4*i+3));
 return (((sign)?'':'-') + '$ ' + num + '.' + cents);
}

function openNewWindow(url, title, size)
{
	window.open(url, title, size);
}
//-->