function makewindow(targeturl, wth, hth, scroll, menu, resize) {

		var x_pos = (screen.availWidth -  (eval(wth)+20));

                var y_pos = (screen.availHeight -  screen.availHeight);newwin=window.open(targeturl,"newwin","width=" + wth + ",height=" + hth + ",scrollbars=" + scroll + ",menubar=" + menu + ",resizable=" + resize + "");

                newwin.moveTo(x_pos,y_pos)

		newwin.focus();	

}

function banfind() {

str1 = document.location.href ;

newstr = str1.slice(str1.lastIndexOf("/")+1, str1.length);
newstr = str1.slice(str1.indexOf(str1.charAt(0)),str1.lastIndexOf("/"));
newstr2 = newstr.slice(newstr.lastIndexOf("/")+1,(newstr.length));
newstr = newstr.slice(newstr.lastIndexOf("/")+1,(newstr.length)-2);

//alert(str1.slice(str1.lastIndexOf("/")+1, str1.length-4));
//alert(str1.slice(str1.length-7, str1.length-4));
//alert(str1.slice(str1.length-7, str1.length-4));
		//alert(newstr2);
	//alert("This is the = " + self.name + " which is inside " + parent.name  );
	if (parent.name == null ) {
		//alert("no name");
		top.frames[0].location.href = "../uncoleft.htm";
		//if (top.frames[1].frames[0]) == "ban" {
		//	if (newstr == "mod" || newstr == "int" || newstr == "lin") {
		//	alert(newstr);
		//	}
	}
	if (self.name == "main") {
		
		if (newstr == "mod" || newstr == "int" || newstr == "lin") {
			top.frames[0].location.href = "../uncoleft.htm";
		} else {
		//alert("In main therefore must have  LEFT  ");
		top.frames[0].location.href = "uncoleft.htm";
		}
		//if (newstr == "mod" || newstr == "int" || newstr == "lin") {
		//alert(newstr);
	}
	
	if ( self.name == "bod" || self.name == "ban" ) {
		//alert("bod or ban");
		top.frames[0].location.href = "../uncoleft.htm";
	}
	if (newstr2 == "intro") {
		top.frames[0].location.href = "uncoleft.htm";
		//break;
		}
	//} else {
	//alert("no");
	//}
//	if (str1.slice(str1.length-7, str1.length-4) == "ban" || str1.slice(str1.length-7, str1.length-4) == "tro") {
	//alert(str1.slice(str1.length-10, str1.length-9));
		//if (str1.slice(str1.length-10, str1.length-9) == "m") {
//			top.frames[0].location.href = "../uncoleft.htm";
			//top.frames[1].frames[0].location.href = "uncom01ban_intro.htm";
		//} else {
		//	top.frames[0].location.href = "../uncoleft.htm";
		//	top.frames[1].frames[0].location.href = "uncom01ban.htm";
		//}
//	} 
//	if (str1.slice(str1.length-7, str1.length-6) == "t" ) {
//		top.frames[0].location.href = "../uncoleft.htm";
//		}
//	if (str1.slice(str1.length-8, str1.length-5) == "map" || str1.slice(str1.length-9, str1.length-6) == "frm_" || str1.slice(str1.length-11, str1.length-7) == "theme" || str1.slice(str1.length-8, str1.length-5) == "list") {
//			top.frames[0].location.href = "uncoleft.htm";
//	} 
}

function MM_preloadImages() { //v2.0
  if (document.images) {
    var imgFiles = MM_preloadImages.arguments;
    if (document.preloadArray==null) document.preloadArray = new Array();
    var i = document.preloadArray.length;
    with (document) for (var j=0; j<imgFiles.length; j++) if (imgFiles[j].charAt(0)!="#"){
      preloadArray[i] = new Image;
      preloadArray[i++].src = imgFiles[j];
  } }
}

function MM_swapImgRestore() { //v2.0
  if (document.MM_swapImgData != null)
    for (var i=0; i<(document.MM_swapImgData.length-1); i+=2)
      document.MM_swapImgData[i].src = document.MM_swapImgData[i+1];
}

function MM_swapImage() { //v2.0
  var i,j=0,objStr,obj,swapArray=new Array,oldArray=document.MM_swapImgData;
  for (i=0; i < (MM_swapImage.arguments.length-2); i+=3) {
    objStr = MM_swapImage.arguments[(navigator.appName == 'Netscape')?i:i+1];
    if ((objStr.indexOf('document.layers[')==0 && document.layers==null) ||
        (objStr.indexOf('document.all[')   ==0 && document.all   ==null))
      objStr = 'document'+objStr.substring(objStr.lastIndexOf('.'),objStr.length);
    obj = eval(objStr);
    if (obj != null) {
      swapArray[j++] = obj;
      swapArray[j++] = (oldArray==null || oldArray[j-1]!=obj)?obj.src:oldArray[j];
      obj.src = MM_swapImage.arguments[i+2];
  } }
  document.MM_swapImgData = swapArray; //used for restore
}