<!--

// -- made by A1javascripts.com, please keep these credits when using this script
days = new Array(7)
days[1] = "Minggu";
days[2] = "Senin";
days[3] = "Selasa";
days[4] = "Rabu";
days[5] = "Kamis";
days[6] = "Jumat";
days[7] = "Sabtu";
months = new Array(12)
months[1] = "Januari";
months[2] = "Febuari";
months[3] = "Maret";
months[4] = "April";
months[5] = "Mei";
months[6] = "Juni";
months[7] = "Juli";
months[8] = "Agustus";
months[9] = "September";
months[10] = "Oktober";
months[11] = "November";
months[12] = "Desember";
today = new Date(); day = days[today.getDay() + 1]
month = months[today.getMonth() + 1]
date = today.getDate()
year=today.getYear();



var imagenumber = 12 ;
var randomnumber = Math.random() ;
var rand1 = Math.round( (imagenumber-1) * randomnumber) + 1 ;
images = new Array
images[1] = "images/flash_bgrimx_01.jpg"
images[2] = "images/flash_bgrimx_02.jpg"
images[3] = "images/flash_bgrimx_03.jpg"
images[4] = "images/flash_bgrimx_04.jpg"
images[5] = "images/flash_bgrimx_05.jpg"
images[6] = "images/flash_bgrimx_06.jpg"
images[7] = "images/flash_bgrimx_07.jpg"
images[8] = "images/flash_bgrimx_08.jpg"
images[9] = "images/flash_bgrimx_09.jpg"
images[10] = "images/flash_bgrimx_10.jpg"
images[11] = "images/flash_bgrimx_11.jpg"
images[12] = "images/flash_bgrimx_12.jpg"
var image = images[rand1]



function validEmail(email) {
	invalidChars = " /:;'"
	if (email == "") {
		return (false);
	}
	for (i=0; i < invalidChars.length; i++) {
		badChar = invalidChars.charAt(i)
		if (email.indexOf(badChar,0) != -1) {
			return (false);
		}
	}
	atPos = email.indexOf("@", 1)
	if (atPos == -1) {
		return (false);
	}
	periodPos = email.indexOf(".", atPos)
	if (periodPos == -1) {
		return (false);
	}
	if (periodPos + 3 > email.length) {
		return (false);
	}
	return (true);
}


function WinOpen(theURL, Name, popW, popH, scroll) 
	{ // V 1.0
	var winleft = (screen.width - popW) / 2;
	var winUp = (screen.height - popH) / 2;
	winProp = 'width='+popW+',height='+popH+',left='+winleft+',top='+winUp+',scrollbars='+scroll+',noresize'
	Win = window.open(theURL, Name, winProp)
	if (parseInt(navigator.appVersion) >= 4) { Win.window.focus(); }
}


//-->
