
function imgOver(thisImg) {
	document[thisImg].src = "images/" + thisImg + "_over.gif"
}

function imgOut(thisImg) {
	document[thisImg].src = "images/" + thisImg + "_off.gif"
}

	// middle pic

	adImages = new Array("test-image/C1000.gif","test-image/C1001.gif","test-image/C1002.gif")
	thisAd = 0
	imgCt = adImages.length

	function rotate() {
		if (document.images) {
			thisAd++
			if (thisAd == imgCt) {
				thisAd = 0
			}
			document.adBanner.src=adImages[thisAd]
		  	setTimeout("rotate()", 1.5 * 1000)

	  	}

	}




	adImages2 = new Array("test-image/CORBI8.gif","test-image/KIK18.gif","test-image/KIK19.gif")
	thisAd = 0
	imgCt = adImages.length

	function rotate2() {
		if (document.images) {
			thisAd++
			if (thisAd == imgCt) {
				thisAd = 0
			}
			document.adBanner2.src=adImages2[thisAd]
		  	setTimeout("rotate2()", 1.5 * 1000)
	  	}
	}

//for large picture pop ups
	function newWindow1(nazariangif) {
		panosbioWindow = window.open(nazariangif, 'nazarian', 'width=420,height=420')
		panosbioWindow.focus()
	}
//for large picture pop ups
	function newWindow2(markariangif) {
		panosbioWindow = window.open(markariangif, 'markarian', 'width=420,height=420')
		panosbioWindow.focus()
	}
//for large picture pop ups
	function newWindow3(yeghiazariangif) {
			panosbioWindow = window.open(yeghiazariangif, 'yeghiazarian', 'width=420,height=420')
		panosbioWindow.focus()
	}
//for large picture pop ups
	function newWindow4(saginiangif) {
			panosbioWindow = window.open(saginiangif, 'saginiang', 'width=420,height=420')
		panosbioWindow.focus()
	}
//for large picture pop ups
	function newWindow5(apkarianif) {
				panosbioWindow = window.open(apkarianif, 'apkarian', 'width=420,height=420')
		panosbioWindow.focus()
	}
//for large picture pop ups
	function newWindow6(khanjianif) {
				panosbioWindow = window.open(khanjianif, 'khanjian', 'width=420,height=420')
		panosbioWindow.focus()
	}
//for large picture pop ups
	function newWindow7(babayanif) {
				panosbioWindow = window.open(babayanif, 'babayan', 'width=420,height=420')
		panosbioWindow.focus()
	}



