//OhNoRobot.com search code for Unwinder's Tall Comics at rampagenetwork.com/comics/unwinder/index.php
//OhNoRobot is powered by hugs.  Also: Javascript!

function transcribe(comicid, ohnoveride, ohnotitle){
	var r = escape(top.location.href);
	if (ohnoveride){
		r = escape(ohnoveride);
	}
	var d = escape(document.title);
	if (ohnotitle){
		d = escape(ohnotitle);
	}
	var p = "rampagenetwork.com/comics/unwinder/index.php";
	var u=new Array();
	u[0]="";    
	var g = 1;
	var i = 0;
	var r2 = top.location.href;
	if (ohnoveride){
		r2 = ohnoveride;
	}
	
	// get rid of preface
	r2 = r2.replace(/http:\/\//g, "");
	r2 = r2.replace(/www./g, "");
	r2 = r2.replace(/\//g, "");
	r2 = r2.replace(/\?/g, "");
	r2 = r2.replace(/\'/g, "");
	r2 = r2.replace(/\"/g, "");
	r2 = r2.replace(/\\/g, "");
	
	// and the other common phrases
	r2 = r2.replace(/comic/g, "");
	r2 = r2.replace(/index/g, "");
	r2 = r2.replace(/html/g, "");
	r2 = r2.replace(/archive/g, "");
	r2 = r2.replace(/view/g, "");
	r2 = r2.replace(/display/g, "");
	
	// see if we've got a match
	for (i = 0; i < u.length; i++) {
		if ((p + u[i] == r2) || (u[i] == r2)){
			g = 0;
		}	
	}
	
	// and call the code
	if (g == 1){
		document.write("<a href=\"http://www.ohnorobot.com/transcribe.pl?comicid=" + comicid + ";title=" + d + ";url=" + r + "\" target=\"_new" + r + "\"><img src=\"http://www.ohnorobot.com/verify.pl?comicid=" + comicid + ";url=" + r + "\" border=\"0\"></a>");
	}
}	
