function add_display() {
	var add_ind = Math.floor(Math.random()*15);
	var add_text = "";

	switch (add_ind) {
		case 0 :
			add_text = "<span class='addtitle'>Cybercrime syndicate swindles Government out of R199m</span><br><br>June 10 2008: The government has identified at least 27 cases where a syndicate has swindled more than R199-million from government departments in four provinces over the past three years – using cyber-spyware.";
			break;
		case 1 :
			add_text = "<span class='addtitle'>French Bank says Rogue Trader Lost US$ 7 Billion</span><br><br>Authorities still investigate why it took so long to uncover the fraud. In January 2008, Société Générale, said an unassuming midlevel employee managed to evade multiple layers of the computers controls and audits for as long as a year, stacking up 4.9 billion Euros in losses for the bank. The fraud appeared to be the largest in history by a rogue trader. Mr. Kerviel made no money personally, but apparently hid the trades by making fake orders to balance each of the genuine orders he placed.";
			break;
		case 2 :
			add_text = "<span class='addtitle'>TJX Settles With Banks Over Data Breaches at a Cost of US$ 107 Million</span><br><br>Nearly 100 million consumers may have been affected. Terms of the settlement were undisclosed but TJX said the $107 million reserve fund it set aside to cover payment and legal expenses from the breach would cover the banks’ agreement.";
			break;
		case 3 :
			add_text = "<span class='addtitle'>UK’s Families Put on Fraud Alert After “Catastrophic” Data Breach</span><br><br>Data lost includes names, address, birthday, ID number & bank details of 25 million people. Two computer discs holding the personal details of all families in the UK with a child under 16 have gone missing. Chancellor Alistair Darling said there was no evidence the data had done to criminals – but urged people to monitor bank accounts “for unusual activity”.";
			break;
		case 4 :
			add_text = "<span class='addtitle'>Database Admin Pleads Guilty in Theft of 8.5 Million Consumer Records</span><br><br>DBA to forfeit the $105,000 he still has remaining from selling the stolen data. A senior database administrator at a subsidiary of Fidelity National Information Services Inc. (FIS) who was accused of stealing about 8.5 million customer records and selling them to data brokers pleaded guilty to felony fraud charges.";
			break;
		case 5 :
			add_text = "<span class='addtitle'>Insurer Gets Record US$2.5 Million Fine for ID Theft Disaster</span><br><br>The company failed to react to the pattern of fraud. Norwich Union, allowed fraudsters to impersonate customers when phoning its call centers, cashing in policies and stealing a total of $6.6 million during the scam.";
			break;
		case 6 :
			add_text = "<span class='addtitle'>Sars employees get 15 years for fraud</span><br><br>September 5, 2008 - Two South African Revenue Services employees and their two accomplices were on Thursday jailed for 15 years each after defrauding the taxman of nearly R500 000. The Pretoria regional court found Maloba and Du Plessis guilty of re-activating 10 dormant closed corporations (CCs), creating fictitious transactions and claiming refunds. The tax refunds were paid into Chidi and Papo's bank accounts. All 10 fraudulent VAT refunds were traced back to Du Plessis' password and authorisation code. <a href='http://www.sundayindependent.co.za/?fSectionId=1083&fArticleId=vn20080905054713259C961747' target='_blank' class='add'>Read more...</a>";
			break;
		case 7 :
			add_text = "<span class='addtitle'>1,800 cases of reported fraud, after 4.2 million records stolen from Retailer</span><br><br>Mar. 17, 2008 - Hannaford Bros. supermarket chain is currently aware of about 1,800 cases of reported fraud related to the security breach. Credit and debit card numbers were stolen during the card authorization transmission process, but no personal information was divulged.";
			break;
		case 8 :
			add_text = "<span class='addtitle'>A-G set to probe R4bn ID system</span><br><br>August 27, 2008. With a price-tag of R4-billion, the controversial home affairs identification system upgrade is costing more than twice as much as initially expected. At the closed meeting with Chauke's parliamentary committee, Jones is understood to have reiterated his suspicions that procedures were not followed. But Jones' officials differed and told MPs and Home Affairs Minister Nosiviwe Mapisa-Nqakula that there was nothing untoward.";
			break;
		case 9 :
			add_text = "<span class='addtitle'>Division of Motor Vehicles Colorado exposes 3.4 million personal records</span><br><br>July 9, 2008 - The DMV regularly sends large batches of personal information over the Internet without encryption and has failed to properly limit access to its database, according to a recent audit. At one point, 33 former DMV employees could access names, addresses, dates of birth and Social Security numbers";
			break;
		case 10 :
			add_text = "<span class='addtitle'>FBI arrests ex-employee for scheme to sell 2,000,000 identities</span><br><br>Aug. 2, 2008 - The FBI on Friday arrested a former Countrywide Financial Corp. employee and another man in an alleged scheme to steal and sell sensitive personal information, including Social Security numbers. The breach occurred over a two-year period though July. The insider was a senior financial analyst at Full Spectrum Lending, Countrywide's subprime lending division. Some, perhaps most, and possibly all the names were being sold to people in the mortgage industry to make new pitches.";
			break;
		case 11 :
			add_text = "<span class='addtitle'>CIPRO launches forensic audit into cloning</span><br><br>Aug. 12, 2009 - At least 114 legitimate firms and close corporations have been cloned by conmen & their funds diverted into bogus bank accounts. This included a tax refund of <span class='heading highlight2'>R51 million from SARS. </span> for Sun Microsystems that was paid to a duplicate firm";
			break;
		case 12 :
			add_text = "<span class='addtitle'>Thief creates 250 counterfeit Bank credit cards after stealing 1 million records</span><br><br>Mar. 21, 2008 - A database containing names, account numbers and customer passwords was stolen. A credit-card encoder and software to encode the information onto blank cards was also used to acquire information from ATMs. A former programmer at Birmingham, Ala. -based Compass Bank stole a hard drive containing 1 million customer records and used some of that information to commit debit-card fraud. The thief had used the information stolen from Compass Bank's database to create about 250 counterfeit debit cards. He was able to use about 45 of those cards to access and withdraw cash from customer accounts at the bank before he was arrested.";
			break;
		case 13 :
			add_text = "<span class='addtitle'>128,000 medical records exposed online</span><br><br>April 8, 2008 	WellPoint announces that Personal information that may have included Social Security numbers and pharmacy or medical data for customers in several states was exposed online over the past year.";
			break;
		case 14 :
			add_text = "<span class='addtitle'> Hacker indicted for theft of 130 million credit card details </span><br></a><br>	The personally identifiable information (PII) of more than 130 million credit and debit card holders is believed to have been stolen using SQL injection attacks to bypass victims firewalls. ";
			break;
		case 15 :
			add_text = "<span class='addtitle'>Hackers fleece State of R400 million</span><br>December 12, 2008 - Masterminds behind an internet fraud syndicate were nabbed by police, for <span class='heading highlight2'>stealing R400 million</span> from the Office of the President and other government departments. ";
			break;
		default: add_text = "";
	}

	display_add.innerHTML = add_text;
	
	setTimeout('add_display()',20000);
}

String.prototype.urldec = function()
{
    return unescape(this.replace(/\+/g, " "));
}

var _param = new Object();
{
    var parts = window.location.search.substr(1).split(/[&;]/);
    for (var i in parts) {
        var pair  = parts[i].split(/=/);
        var name  = pair[0].urldec();
        var value = pair[1] != undefined ? pair[1].urldec() : undefined;
        if (_param[name] == undefined)
            _param[name] = [value];
        else
            _param[name].push(value);
    }
}

function param(name)
{
    return _param[name] != undefined ? _param[name][0] : undefined;
}

function params(name)
{
    if (arguments.length > 0)
        return _param[name];
    else {
        var pnames = [];
        for (var p in _param)
            pnames.push(p);
        return pnames;
	}
}

function set_menu() {
    var selected_menu = params("mid");
    var menu_ind = "0";

    if (selected_menu == undefined) {
	menu_ind = "0";
    }
    else {
	menu_ind = selected_menu;
    }

    document.getElementById("menu" + menu_ind).className="menuon";
}

function set_add_img() {
    document.getElementById("rotate_add").className="addimg";
}
