<!--

var textSuffix='hi'
var ext ='.gif'
var win


var currentImage
var theURL
var winWidth
var winHeight

function setImageVariable(curImage){

currentImage = curImage

getURLOpenWindow()

}





function getURLOpenWindow()  {


	theURL = currentImage + '.html'
	thewin = 'imagewindow'

	if(currentImage == 'Image2') {

		winWidth = '330'
		winHeight = '540'

	} else if(currentImage == 'Image3') {

		winWidth = '432'
		winHeight = '545'

	} else if(currentImage == 'Image4') {

		winWidth = '407'
		winHeight = '540'

	} else if(currentImage == 'Image5') {

		winWidth = '388'
		winHeight = '540'

	} else if(currentImage == 'Image6') {

		winWidth = '333'
		winHeight = '540'

	} else if(currentImage == 'Image7') {

		winWidth = '379'
		winHeight = '545'

	} else if(currentImage == 'Image8') {

		winWidth = '508'
		winHeight = '535'

	} else if(currentImage == 'Image9') {

		winWidth = '351'
		winHeight = '540'

	} else if(currentImage == 'Image10') {

		winWidth = '391'
		winHeight = '540'


	} else if(currentImage == 'Image11') {

		winWidth = '414'
		winHeight = '545'


	} else if(currentImage == 'Image12') {

		winWidth = '399'
		winHeight = '545'


	} else if(currentImage == 'Image13') {

		winWidth = '394'
		winHeight = '536'


	} else if(currentImage == 'Image14') {

		winWidth = '396'
		winHeight = '536'


	} else if(currentImage == 'Image15') {

		winWidth = '375'
		winHeight = '542'


	} else if(currentImage == 'Image16') {

		winWidth = '426'
		winHeight = '545'

	} else if(currentImage == 'Image17') {

		winWidth = '331'
		winHeight = '545'

	} else if(currentImage == 'Image18') {

		winWidth = '431'
		winHeight = '540'

	} else if(currentImage == 'Image19') {

		winWidth = '660'
		winHeight = '440'

	} else if(currentImage == 'Image20') {

		winWidth = '414'
		winHeight = '545'

	} else if(currentImage == 'Image21') {

		winWidth = '397'
		winHeight = '545'

	} else if(currentImage == 'Image22') {

		winWidth = '608'
		winHeight = '545'

	} else if(currentImage == 'Image23') {

		winWidth = '450'
		winHeight = '535'

	} else if(currentImage == 'Image24') {

		winWidth = '413'
		winHeight = '540'

	} else if(currentImage == 'Image25') {

		winWidth = '376'
		winHeight = '540'


	} else if(currentImage == 'Image26') {

		winWidth = '773'
		winHeight = '500'

	} else if(currentImage == 'Image27') {

		winWidth = '417'
		winHeight = '540'


	} else if(currentImage == 'Image28') {

		winWidth = '463'
		winHeight = '536'

	} else if(currentImage == 'Image29') {

		winWidth = '332'
		winHeight = '545'

	} else if(currentImage == 'Image30') {

		winWidth = '394'
		winHeight = '537'

	} else if(currentImage == 'Image31') {

		winWidth = '412'
		winHeight = '537'

	} else if(currentImage == 'Image32') {

		winWidth = '389'
		winHeight = '540'

	} else if(currentImage == 'Image33') {

		winWidth = '378'
		winHeight = '537'


	} else if(currentImage == 'Image34') {

		winWidth = '365'
		winHeight = '537'

	} else if(currentImage == 'Image35') {

		winWidth = '317'
		winHeight = '537'

	} else if(currentImage == 'Image36') {

		winWidth = '337'
		winHeight = '545'

	} else if(currentImage == 'Image37') {

		winWidth = '618'
		winHeight = '435'

	} else if(currentImage == 'Image38') {

		winWidth = '618'
		winHeight = '498'
	} else if(currentImage == 'Image39') {

		winWidth = '778'
		winHeight = '238'

	} else if(currentImage == 'Image40') {

		winWidth = '747'
		winHeight = '518'

	} else if(currentImage == 'Image41') {

		winWidth = '616'
		winHeight = '518'

	} else if(currentImage == 'Image42') {

		winWidth = '793'
		winHeight = '204'

	} else if(currentImage == 'Image43') {

		winWidth = '793'
		winHeight = '204'

	} else if(currentImage == 'Image44') {

		winWidth = '371'
		winHeight = '537'

	} else if(currentImage == 'Image45') {

		winWidth = '762'
		winHeight = '537'

	} else if(currentImage == 'Image46') {

		winWidth = '446'
		winHeight = '545'

	} else if(currentImage == 'Image47') {

		winWidth = '698'
		winHeight = '437'

	} else if(currentImage == 'Image48') {

		winWidth = '323'
		winHeight = '537'

	} else if(currentImage == 'Image49') {

		winWidth = '315'
		winHeight = '537'

	} else if(currentImage == 'Image50') {

		winWidth = '738'
		winHeight = '515'

	} else if(currentImage == 'Image51') {

		winWidth = '380'
		winHeight = '537'

	} else if(currentImage == 'Image52') {

		winWidth = '718'
		winHeight = '480'

	} else if(currentImage == 'Image53') {

		winWidth = '428'
		winHeight = '537'

	} else if(currentImage == 'Image54') {

		winWidth = '345'
		winHeight = '537'

	} else if(currentImage == 'Image55') {

		winWidth = '379'
		winHeight = '543'

	} else if(currentImage == 'Image56') {

		winWidth = '392'
		winHeight = '543'

	} else if(currentImage == 'Image57') {

		winWidth = '729'
		winHeight = '537'

	} else if(currentImage == 'Image58') {

		winWidth = '698'
		winHeight = '537'

	} else if(currentImage == 'Image59') {

		winWidth = '390'
		winHeight = '543'

	} else if(currentImage == 'Image60') {

		winWidth = '410'
		winHeight = '537'

	} else if(currentImage == 'Image61') {

		winWidth = '414'
		winHeight = '543'

	} else if(currentImage == 'Image62') {

		winWidth = '456'
		winHeight = '543'
	} else if(currentImage == 'Image63') {

		winWidth = '429'
		winHeight = '543'

	} else if(currentImage == 'Image64') {

		winWidth = '402'
		winHeight = '537'

	} else if(currentImage == 'Image65') {

		winWidth = '394'
		winHeight = '543'

	} else if(currentImage == 'Image66') {

		winWidth = '406'
		winHeight = '537'

	} else if(currentImage == 'Image67') {

		winWidth = '361'
		winHeight = '537'

	} else if(currentImage == 'Image68') {

		winWidth = '352'
		winHeight = '355'

	} else if(currentImage == 'Image69') {

		winWidth = '338'
		winHeight = '543'

	} else if(currentImage == 'Image70') {

		winWidth = '329'
		winHeight = '543'

	} else if(currentImage == 'Image71') {

		winWidth = '389'
		winHeight = '537'

	} else if(currentImage == 'Image72') {

		winWidth = '389'
		winHeight = '537'

	} else if(currentImage == 'Image73') {

		winWidth = '408'
		winHeight = '537'

	} else if(currentImage == 'Image74') {

		winWidth = '715'
		winHeight = '490'

	} else if(currentImage == 'Image75') {

		winWidth = '456'
		winHeight = '545'

	}


createNewPicWin(thewin)

}

function waitOpen(theURL,winName,parameters) {


 win=window.open(myURL, winName, parameters)

}

//opens pic window

function createNewPicWin(winName)  {

	myWidth = winWidth
	myHeight = winHeight

   	myURL=theURL
	myWinName=winName
	parameters = 'width=' + myWidth + ',height=' + myHeight + ',toolbar=no,scrollbars=no,location=0,directories=no,status=no,resizable=no,menubar=0'   
	
   if(win && win.open)  {

    //alert('open')

	win.close()
	timerID=setTimeout('waitOpen(myURL, myWinName, parameters)',1000)

	} else  {

   //alert('closed')

	waitOpen(myURL, myWinName, parameters)
   }
    
	
}

function closeChildWindow()  {
 if(win && win.open)  {
  win.close()  }
}




//-->
