function a() {
	this.window.focus(); 
//	window.navigate('#1');
}
//setTimeout("a()", 3000); 
// ############################
vis=new Array();
vis[0]="cat";
current=new Array();
current[0]=0			//line 10
i=new Array();
i[0]=0;
function jump() {
	if(vis[i[0]] != i[0]) {
		window.navigate('#'+document.anchors[i[0]].name);
		current[0]=i[0];
		i[0]++;
		if(document.anchors[i[0]].name=='end') i[0]=0; 
		setTimeout("jump()", 20000); //================================
	}			//line 20		
	else {
		i[0]++;
		if(document.anchors[i[0]].name=='end') i[0]=0; 
		jump();
	}
}
// ----------------------------
function go() { 
	var a=parent.list
	if(a.vis[a.current[0]] == a.current[0]) return true;
//	my=window.open(a.document.links[a.current[0]]);	 //line 30 DISABLED =======================================================

	a.vis[a.current[0]]=a.current[0];	//DISABLED========================

	setTimeout("a();", 50);  
//	return a.vis[a.current[0]]=a.current[0];
} 
// ############################ line 35
// ############################ RETURN ON HOME PAGE

function home() { 
	ok_urls = new Array();
	ok_urls[1] = "fr_set.htm";	// back to this page ===================
//	ok_urls[1] = "http://ndraw.tripod.com/fr_set.htm";
	ok_urls[2] = "http://members.tripod.com/ndraw/fr_set.htm";	// the other valid URLs
	ok_urls[3] = "http://members.tripod.com/~ndraw/fr_set.htm";
	ok_urls[4] = "http://andreymm.tripod.com/fr_set.htm";
	ok_urls[5] = "http://members.tripod.com/andreymm/fr_set.htm";
	ok_urls[6] = "http://members.tripod.com/~andreymm/fr_set.htm";
	ok_urls[7] = "http://neptune.spaceports.com/ndraw/fr_set.htm";
	ok_urls[8] = "http://neptune.spaceports.com/~ndraw/fr_set.htm";

	ok_urls[9] = "file:///C:/000/N_draw07/fr_set.htm";
	ok_urls[10] = "http://ndraw.designdv.com/fr_set.htm";
	ok_urls[11] = "http://www.designdv.com/ndraw/fr_set.htm";
	ok_urls[12] = "http://designdv.com/ndraw/fr_set.htm";
	
	url_found = 0;
	for (var i = 1; i <= ok_urls.length && !url_found; i++) {
		url_found = (parent.location.href.indexOf(ok_urls[i]) == -1);
	}
	if (!url_found || (window == top)) top.location.href = ok_urls[1] + "?" + window.location.href;
}
//---------------------------- 
function goal() {
	var a=top.location.href
	if (a.indexOf('?') != -1) {
		var idx = a.substring(a.indexOf('?')+1, a.length);

		if (idx != -1) parent.main.location.href=idx;
		if (this.name == "main") this.location.href="main.htm"	// seems like works OK
		return true;
	}
}
// ############################ it works on exploret 5.0 from a flopy or hard drive

function updated() {
	var a = this.document.lastModified;
	var upd = document.write(a.substring(0, 10));
	return upd;
}
// ############ GO TO SIZRANTZEV #############
function gowindow() {
	my=window.open("http://members.lycos.co.uk/artfetch/artists_fr.htm", "displayWindow", 
    "width=400,height=300,status=yes,toolbar=yes,menubar=yes,scrollbars=yes,location=yes");
}

/*
// ############ SEARCH ENGINE #############
function searchengine() {
var a = document.write
	document.open();
	a("<DIV ALIGN=\"center\">");
	a("<IFRAME src=\"websearch.htm\" WIDTH=\"468\" HEIGHT=\"71\" SCROLLING=\"no\" FRAMEBORDER=\"0\" MARGINHEIGHT=\"0\" MARGINWIDTH=\"0\" style=\"margin-top:0px; margin-bottom:0px; \"></IFRAME></DIV><BR>");
	document.close();
}
*/
//################ GOOGLE ADSENSE #####################
function adsense() {
	var a = document.write

	document.open();
	a("<HR SIZE=5><BR>");
	a("<IFRAME align=\"center\" src=\"zadsense-tripod-ndraw.htm\" WIDTH=\"728\" HEIGHT=\"90\" SCROLLING=\"no\" FRAMEBORDER=\"0\" MARGINHEIGHT=\"0\" MARGINWIDTH=\"0\" ></IFRAME><BR>");
	document.close();
}


//################ LINKS FOR ROBOTS #####################
function promo() {
	var a = document.write

	document.open();
	a("<CENTER></B>");
	a("<A HREF=\"http://www.designDV.com\" TARGET=\"_blank\"><FONT color=\"white\">.</FONT></A>");
	a("<A HREF=\"http://www.designDV.com/ru\" TARGET=\"_blank\"><FONT color=\"white\">.</FONT></A>");
	a("<A HREF=\"http://www.designDV.com/ndraw\" TARGET=\"_blank\"><FONT color=\"white\">.</FONT></A>");
	a("<A HREF=\"http://www.designDV.com/resume\" TARGET=\"_blank\"><FONT color=\"white\">.</FONT></A>");
	a("<A HREF=\"http://www.designDV.com/translate\" TARGET=\"_blank\"><FONT color=\"white\">.</FONT></A>");
	a("<A HREF=\"http://www.designDV.com/artfetch\" TARGET=\"_blank\"><FONT color=\"white\">.</FONT></A>");
	a("<A HREF=\"http://www.designDV.com/mammoth\" TARGET=\"_blank\"><FONT color=\"white\">.</FONT></A>");
	a("<A HREF=\"http://www.designDV.com/art\" TARGET=\"_blank\"><FONT color=\"white\">.</FONT></A>");
	a("<A HREF=\"http://www.designDV.com/artru\" TARGET=\"_blank\"><FONT color=\"white\">.</FONT></A>");

	a("<A HREF=\"http://www.interposy.com\" TARGET=\"_blank\"><FONT color=\"white\">.</FONT></A>");
	a("<A HREF=\"http://www.interposy.com/herbs\" TARGET=\"_blank\"><FONT color=\"white\">.</FONT></A>");
	a("<A HREF=\"http://www.interposy.com/herbs/mex\" TARGET=\"_blank\"><FONT color=\"white\">.</FONT></A>");
	a("<A HREF=\"http://www.interposy.com/herbs/mexico\" TARGET=\"_blank\"><FONT color=\"white\">.</FONT></A>");
	a("<A HREF=\"http://www.keyherbs.com\" TARGET=\"_blank\"><FONT color=\"white\">.</FONT></A>");
	a("<A HREF=\"http://www.keyherbs.com/mex\" TARGET=\"_blank\"><FONT color=\"white\">.</FONT></A>");
	a("<A HREF=\"http://www.keyherbs.com/mexico\" TARGET=\"_blank\"><FONT color=\"white\">.</FONT></A>");
	a("<A HREF=\"http://www.keyherbs.org\" TARGET=\"_blank\"><FONT color=\"white\">.</FONT></A>");
	a("<A HREF=\"http://www.keyherbs.com\" TARGET=\"_blank\"><FONT color=\"white\">.</FONT></A>");
	a("</CENTER>");
	document.close();
}

//################ DEFINE PAGE #####################
function define_page() {
	var a = this.location.href;
	var f = a.substring(a.lastIndexOf('/')+1, a.length);
	
	no_files = new Array();
	no_files[0] = "menu.htm";
	no_files[1] = "mlmenu.htm";
	no_files[2] = "mlrmenu.htm";

	no_files[3] = "mlmenu.htm";
	no_files[4] = "menu.htm";

	var f_found=0;
	for (var i=0; i < no_files.length; i++) {
		if (no_files[i] == f) f_found=1;
	}
	if (f_found == 1) return true;
	else adsense(); promo();
}


// ############ PAGING for content's files #############
function head() {return true;}
function bodytop() {home(); define_page();} //home(); 
function bodybot() {define_page();}
function myload() {return true;}
function myexit() {return true;}  // gowindow();
// #####################################################
// ###################### E-MAIL #######################
function mail() {
  temp_win= open("", "mail", "width=500,height=40,status=0,toolbar=0,menubar=0,location=0,directories=0,scrollbars=0,resizable=0,");
  var a = temp_win.document.write
  var ad = "ndraw"
  var ad3 = "friend";
  var ad4 = "fk.khv.ru";
  temp_win.document.open();
  
  a("<html><head><title>E-MAIL</title>");
  a("<META name=\"robots\" CONTENT=\"noindex\">\n");
  a("<META name=\"distribution\" CONTENT=\"iu\">\n");
  a("<META HTTP-EQUIV=\"Pragma\" CONTENT=\"no-cache\">\n");
  a("<META HTTP-EQUIV=\"Window-target\" CONTENT=\"_blank\">\n");
  a("<BASE target=\"_blank\">\n");
  a("<LINK REL=\"stylesheet\" TYPE=\"text/css\" HREF=\"andrey.css\">\n");
//  a("<SCRIPT SRC=\"http://ndraw.tripod.com/andrey.js\">alert(\'ARE YOU SURE THAT YOU ARE WITHIN MY WEBSITE NOW??\'); </SCRIPT>\n");
  a("<script language=\"JavaScript\"> <!-- \n function a() {\n this.window.focus(); \n } \n // --> </script>\n</HEAD>\n");
  a("<BODY BACKGROUND=\"backht12.gif\">\n");
  a("<script language=\"JavaScript\"> <!-- \n a(); // --> </script>\n");
  a("<center><BR>");
  a("<TABLE WIDTH=\"86%\" ALIGN=\"center\" BORDER=0 CELLSPACING=2 CELLPADDING=0> <TR><TD CLASS=\"BUTTON\">");
  a("<A href=\"mailto:"+ad+"@yahoo.com?subject=FEEDBACK FROM ...&bcc="+ad3+"@"+ad4+"\" TITLE=\"Email the maintainer\">JUST CLICK HERE TO SEND MAIL &nbsp;@</a></TD></TR></TABLE>");
  a("THIS IS SOME SORT OF PROTECTION FROM SPAMERS");
  a("</center>");
  a("</body></html>");

  temp_win.document.close();  
}

//################ FOOTER 
function footer() {
	var a = document.write

	document.open();
	a("<CENTER><DIV ALIGN=\"center\"><SMALL>");
	a("<P>This site was established on the 14th of May in 1999 and is maintained by <A HREF=\"http://MAIL.designDV.com\" TITLE=\"Email the maintainer\"  target=\"_newmail\"> nDraw<SUP>&#174;</SUP> </a><BR>");
	
	a("<P>This page is last time updated ");
	a("<script language=\"JavaScript\"> <!-- \n updated(); // --> </script><BR>");

	a("<A HREF=\"index.html\" TARGET=\"_blank\">Copyright</A>&#169; 1998 by the HTML Writers FROM RUSSIA, <A HREF=\"index.html\" TARGET=\"_blank\">nDraw, Inc.</A></SMALL></DIV><HR>");
	
	document.close();
}

//################ FOOTER  BANNER not FROM TOPSPACE.HTM
function banner() {
	var a = document.write

	document.open();
	a("<DIV ALIGN=\"center\">");

// a("<A HREF=\"http://www.redcross.org\" TARGET=\"_blank\"><IMG ALIGN=\"center\" alt=\"YOU CAN HELP \" border=0 src=\"RedCrossBanner.gif\"></A></DIV><BR>");

// a("<A HREF=\"http://nposy.tripod.com\" TARGET=\"_blank\"><IMG ALIGN=\"center\" alt=\"I MADE THIS :) \" border=0 src=\"http://nposy.tripod.com/banner.jpg\"></A></DIV><BR>");

//	a("<IFRAME src=\"http://neptune.spaceports.com/~ndraw/topspace.htm\" WIDTH=\"468\" //HEIGHT=\"60\" SCROLLING=\"no\" FRAMEBORDER=\"0\" MARGINHEIGHT=\"0\" MARGINWIDTH=\"0\" //></IFRAME></DIV><BR>");
	
//	a("<IFRAME src=\"http://posy.port5.com/webbaner.htm\" WIDTH=\"468\" HEIGHT=\"60\" SCROLLING=\"no\" FRAMEBORDER=\"0\" MARGINHEIGHT=\"0\" MARGINWIDTH=\"0\" ></IFRAME></DIV><BR>");

a("<IFRAME src=\"http://interposy.com/webbaner.htm\" WIDTH=\"468\" HEIGHT=\"60\" SCROLLING=\"no\" FRAMEBORDER=\"0\" MARGINHEIGHT=\"0\" MARGINWIDTH=\"0\" ></IFRAME></DIV><BR>");
	
	document.close();
}






