var FILE_LOCATION = "file://///russia/www/verdantplanet/"
var HTTP_LOCATION = "http://www.verdantplanet.org/"
var BaseLocation = ""

if ( location.protocol == "http:" ) 
	BaseLocation = HTTP_LOCATION
else 
	BaseLocation = FILE_LOCATION



function PrintLastUpdate(dd)
{
   var LastModDate = new Date (dd)
       MonthName = new Array  ("January","February","March","April","May","June","July",
										 "August","September","October","November","December")
   document.write ( "Last updated : " + LastModDate.getDate() + " " +
	                 MonthName[LastModDate.getMonth()] + " " )
	var YearNo = LastModDate.getYear()
	if ( YearNo > 100 ) YearNo = YearNo - 1900
	if ( YearNo > 100 ) YearNo = YearNo - 100
   if ( YearNo < 50 ) 
      document.write ( YearNo + 2000 )
   else
      document.write ( YearNo + 1900 )
   document.write ("<BR>")
}


function GetBrowserID()
{
   if ( navigator.appName.substring(0,8) == "Netscape" ) { 
		// Netscape
		if ( navigator.appVersion.substring(0,1) == "4" ) {
			// Netscape 4.X
			return "NN4"
		} else if ( navigator.appVersion.substring(0,1) == "3" ) {
			// Netscape 3.X
			return "NN3"
		}
   } else if ( navigator.appName.substring(0,8) == "Microsof" ) {
		// IE
		if ( navigator.appVersion.substring(0,1) == "4" ) {
			//  IE 4
			return "IE4"
		} else if ( navigator.appVersion.substring(0,1) == "3" ) {
			// IE 3
			return "IE3"
		}
   }
}

/*
// SCHEME 1 
var imgBan1 = new Image
var imgBan2 = new Image
var imgBan3 = new Image
var imgBan4 = new Image
var imgBan5 = new Image
var imgBan6 = new Image
imgBan1.src = BaseLocation + "ban/green2a.jpg"
imgBan2.src = BaseLocation + "ban/green2b.jpg"
imgBan3.src = BaseLocation + "ban/greenban2.jpg"
imgBan4.src = BaseLocation + "ban/greenban.gif"
imgBan5.src = BaseLocation + "ban/ban_politic1.jpg"
imgBan6.src = BaseLocation + "ban/ban_tamakai.jpg"
*/

/*
// SCHEME 2 
var imgBan1 = new Image
var imgBan2 = new Image
var imgBan3 = new Image
var imgBan4 = new Image
imgBan1.src = BaseLocation + "ban/ban_tiger_pennis1.jpg"
imgBan2.src = BaseLocation + "ban/ban_tiger_pennis2.jpg"
imgBan3.src = BaseLocation + "ban/ban_tiger_pennis3.jpg"
imgBan4.src = BaseLocation + "ban/ban_tiger_pennis4.jpg"
*/

/* */
// SCHEME 3 
var imgBan1 = new Image
var imgBan2 = new Image
var imgBan3 = new Image
var imgBan4 = new Image
var imgBan5 = new Image
var imgBan6 = new Image
var imgBan7 = new Image
imgBan1.src = BaseLocation + "ban/ban_rhino_horn1.jpg"
imgBan2.src = BaseLocation + "ban/ban_rhino_horn2.jpg"
imgBan3.src = BaseLocation + "ban/ban_rhino_horn3.jpg"
imgBan4.src = BaseLocation + "ban/ban_rhino_horn4.jpg"
imgBan5.src = BaseLocation + "ban/ban_rhino_horn5.jpg"
imgBan6.src = BaseLocation + "ban/ban_rhino_horn6.jpg"
imgBan7.src = BaseLocation + "ban/ban_rhino_horn7.jpg"
/* */

/*
// SCHEME 4 
var imgBan1 = new Image
var imgBan2 = new Image
var imgBan3 = new Image
var imgBan4 = new Image
var imgBan5 = new Image
var imgBan6 = new Image
var imgBan7 = new Image
var imgBan8 = new Image
imgBan1.src = BaseLocation + "ban/ban_fur_fashion1.jpg"
imgBan2.src = BaseLocation + "ban/ban_fur_fashion2.jpg"
imgBan3.src = BaseLocation + "ban/ban_fur_fashion3.jpg"
imgBan4.src = BaseLocation + "ban/ban_fur_fashion4.jpg"
imgBan5.src = BaseLocation + "ban/ban_fur_fashion5.jpg"
imgBan6.src = BaseLocation + "ban/ban_fur_fashion6.jpg"
imgBan7.src = BaseLocation + "ban/ban_fur_fashion7.jpg"
imgBan8.src = BaseLocation + "ban/ban_fur_fashion8.jpg"
*/

/*
// SCHEME 5 
var imgBan1 = new Image
var imgBan2 = new Image
var imgBan3 = new Image
var imgBan4 = new Image
var imgBan5 = new Image
var imgBan6 = new Image
var imgBan7 = new Image
var imgBan8 = new Image
var imgBan9 = new Image
var imgBan10 = new Image
var imgBan11 = new Image
var imgBan12 = new Image
var imgBan13 = new Image
var imgBan14 = new Image
imgBan1.src = BaseLocation + "ban/ban_fur2_fashion1.jpg"
imgBan2.src = BaseLocation + "ban/ban_fur2_fashion2.jpg"
imgBan3.src = BaseLocation + "ban/ban_fur2_fashion3.jpg"
imgBan4.src = BaseLocation + "ban/ban_fur2_fashion4.jpg"
imgBan5.src = BaseLocation + "ban/ban_fur2_fashion5.jpg"
imgBan6.src = BaseLocation + "ban/ban_fur2_fashion6.jpg"
imgBan7.src = BaseLocation + "ban/ban_fur2_fashion7.jpg"
imgBan8.src = BaseLocation + "ban/ban_fur2_fashion8.jpg"
imgBan9.src = BaseLocation + "ban/ban_fur2_fashion9.gif"
imgBan10.src = BaseLocation + "ban/ban_fur2_fashion10.gif"
imgBan11.src = BaseLocation + "ban/ban_fur2_fashion11.gif"
imgBan12.src = BaseLocation + "ban/ban_fur2_fashion12.gif"
imgBan13.src = BaseLocation + "ban/ban_fur2_fashion13.gif"
imgBan14.src = BaseLocation + "ban/ban_fur2_fashion14.gif"
*/

function SwitchImageTo( Number )
{
/*
// SCHEME 1
	if ( Number == '1' ) {
		document.images["imgGreen"].src = eval( "imgBan1.src" )
		setTimeout("SwitchImageTo('2')",4000)
	} else if ( Number == '2' ) {
		document.images["imgGreen"].src = eval( "imgBan2.src" )
		setTimeout("SwitchImageTo('3')",4000)
	} else if ( Number == '3' ) {
		document.images["imgGreen"].src = eval( "imgBan3.src" )
		setTimeout("SwitchImageTo('4')",4000)
	} else if ( Number == '4' ) {
		document.images["imgGreen"].src = eval( "imgBan4.src" )
		setTimeout("SwitchImageTo('5')",4000)
	} else if ( Number == '5' ) {
		document.images["imgGreen"].src = eval( "imgBan5.src" )
		setTimeout("SwitchImageTo('6')",4000)
	} else if ( Number == '6' ) {
		document.images["imgGreen"].src = eval( "imgBan6.src" )
		setTimeout("SwitchImageTo('1')",4000)
	}
*/

/*
// SCHEME 2
	if ( Number == '1' ) {
		document.images["imgGreen"].src = eval( "imgBan1.src" )
		setTimeout("SwitchImageTo('2')",4000)
	} else if ( Number == '2' ) {
		document.images["imgGreen"].src = eval( "imgBan2.src" )
		setTimeout("SwitchImageTo('3')",4000)
	} else if ( Number == '3' ) {
		document.images["imgGreen"].src = eval( "imgBan3.src" )
		setTimeout("SwitchImageTo('4')",4000)
	} else if ( Number == '4' ) {
		document.images["imgGreen"].src = eval( "imgBan4.src" )
		setTimeout("SwitchImageTo('1')",4000)
	}
*/

// SCHEME 3
	if ( Number == '1' ) {
		document.images["imgGreen"].src = eval( "imgBan1.src" )
		setTimeout("SwitchImageTo('2')",4000)
	} else if ( Number == '2' ) {
		document.images["imgGreen"].src = eval( "imgBan2.src" )
		setTimeout("SwitchImageTo('3')",4000)
	} else if ( Number == '3' ) {
		document.images["imgGreen"].src = eval( "imgBan3.src" )
		setTimeout("SwitchImageTo('4')",4000)
	} else if ( Number == '4' ) {
		document.images["imgGreen"].src = eval( "imgBan4.src" )
		setTimeout("SwitchImageTo('5')",4000)
	} else if ( Number == '5' ) {
		document.images["imgGreen"].src = eval( "imgBan5.src" )
		setTimeout("SwitchImageTo('6')",4000)
	} else if ( Number == '6' ) {
		document.images["imgGreen"].src = eval( "imgBan6.src" )
		setTimeout("SwitchImageTo('7')",4000)
	} else if ( Number == '7' ) {
		document.images["imgGreen"].src = eval( "imgBan7.src" )
		setTimeout("SwitchImageTo('1')",8000)
	}

/*
// SCHEME 4
	if ( Number == '1' ) {
		document.images["imgGreen"].src = eval( "imgBan1.src" )
		setTimeout("SwitchImageTo('2')",3000)
	} else if ( Number == '2' ) {
		document.images["imgGreen"].src = eval( "imgBan2.src" )
		setTimeout("SwitchImageTo('3')",3000)
	} else if ( Number == '3' ) {
		document.images["imgGreen"].src = eval( "imgBan3.src" )
		setTimeout("SwitchImageTo('4')",3000)
	} else if ( Number == '4' ) {
		document.images["imgGreen"].src = eval( "imgBan4.src" )
		setTimeout("SwitchImageTo('5')",3000)
	} else if ( Number == '5' ) {
		document.images["imgGreen"].src = eval( "imgBan5.src" )
		setTimeout("SwitchImageTo('6')",1000)
	} else if ( Number == '6' ) {
		document.images["imgGreen"].src = eval( "imgBan6.src" )
		setTimeout("SwitchImageTo('7')",1000)
	} else if ( Number == '7' ) {
		document.images["imgGreen"].src = eval( "imgBan7.src" )
		setTimeout("SwitchImageTo('8')",3000)
	} else if ( Number == '8' ) {
		document.images["imgGreen"].src = eval( "imgBan8.src" )
		setTimeout("SwitchImageTo('1')",4000)
	}
*/

/*
// SCHEME 5
	if ( Number == '1' ) {
		document.images["imgGreen"].src = eval( "imgBan1.src" )
		setTimeout("SwitchImageTo('2')",3000)
	} else if ( Number == '2' ) {
		document.images["imgGreen"].src = eval( "imgBan2.src" )
		setTimeout("SwitchImageTo('3')",3000)
	} else if ( Number == '3' ) {
		document.images["imgGreen"].src = eval( "imgBan3.src" )
		setTimeout("SwitchImageTo('4')",3000)
	} else if ( Number == '4' ) {
		document.images["imgGreen"].src = eval( "imgBan4.src" )
		setTimeout("SwitchImageTo('5')",3000)
	} else if ( Number == '5' ) {
		document.images["imgGreen"].src = eval( "imgBan5.src" )
		setTimeout("SwitchImageTo('6')",3000)
	} else if ( Number == '6' ) {
		document.images["imgGreen"].src = eval( "imgBan6.src" )
		setTimeout("SwitchImageTo('7')",3000)
	} else if ( Number == '7' ) {
		document.images["imgGreen"].src = eval( "imgBan7.src" )
		setTimeout("SwitchImageTo('8')",3000)
	} else if ( Number == '8' ) {
		document.images["imgGreen"].src = eval( "imgBan8.src" )
		setTimeout("SwitchImageTo('13')",3000)
	} else if ( Number == '13' ) {
		document.images["imgGreen"].src = eval( "imgBan13.src" )
		setTimeout("SwitchImageTo('9')",4000)
	} else if ( Number == '9' ) {
		document.images["imgGreen"].src = eval( "imgBan9.src" )
		setTimeout("SwitchImageTo('10')",1000)
	} else if ( Number == '10' ) {
		document.images["imgGreen"].src = eval( "imgBan10.src" )
		setTimeout("SwitchImageTo('11')",3000)
	} else if ( Number == '11' ) {
		document.images["imgGreen"].src = eval( "imgBan11.src" )
		setTimeout("SwitchImageTo('12')",1000)
	} else if ( Number == '12' ) {
		document.images["imgGreen"].src = eval( "imgBan12.src" )
		setTimeout("SwitchImageTo('1')",5000)
	}
*/
}


function PrintBan()
{
	var BaseLocation = ""
	if ( location.protocol == "http:" ) 
		BaseLocation = HTTP_LOCATION
	else 
		BaseLocation = FILE_LOCATION
	document.write ('<center><A HREF="' + BaseLocation + 'green/index.html"><IMG width=323 height=80 NAME="imgGreen" SRC="' + BaseLocation + 'ban_tiger_pennis1.jpg' + '" BORDER=1></A></center>')
	SwitchImageTo ('1')
}



