﻿// JScript File

// made by: Nicolas - http://www.javascript-page.com

var currentdate = 0
var core = 0

function StringArray (n) {
  this.length = n;
  for (var i =1; i <= n; i++) {
    this[i] = ' '

  }
}

image = new StringArray(12)
image[0] = 'Images/13169/img_1.jpg'
image[1] = 'Images/13169/img_2.jpg'
image[2] = 'Images/13169/img_3.jpg'
image[3] = 'Images/13169/img_4.jpg'
image[4] = 'Images/13169/img_5.jpg'
image[5] = 'Images/13169/img_6.jpg'
image[6] = 'Images/13169/img_7.jpg'
image[7] = 'Images/13169/img_8.jpg'
image[8] = 'Images/13169/img_9.jpg'
image[9] = 'Images/13169/img_10.jpg'
image[10] = 'Images/13169/img_11.jpg'
image[11] = 'Images/13169/img_12.jpg'



/*var ran = 60/image.length*/
var ran = Math.floor(Math.random()*35)
/*window.alert(ran)*/
function ranimage() {
  currentdate = new Date()
  core = currentdate.getSeconds()

  core = Math.floor(ran/core)
    return(image[core])
}
var temp = ranimage()


if (ranimage() == 'Images/13169/img_1.jpg') 
document.write("<img src='" +ranimage()+  " ' " + "width=\"189\" height=\"180\""+"onmousedown = 'nocopy()'>")
else if (ranimage() == 'Images/13169/img_2.jpg') 
document.write("<img src='" +ranimage()+  " ' " + "width=\"180\" height=\"180\""+"onmousedown = 'nocopy()'>") 
else if (ranimage() == 'Images/13169/img_3.jpg')
document.write("<img src='" +ranimage()+  " ' " + "width=\"184\" height=\"180\""+"onmousedown = 'nocopy()'>") 
else if (ranimage() == 'Images/13169/img_4.jpg')
document.write("<img src='" +ranimage()+  " ' " + "width=\"180\" height=\"180\""+"onmousedown = 'nocopy()'>")
else if (ranimage() == 'Images/13169/img_5.jpg')
document.write("<img src='" +ranimage()+  " ' " + "width=\"174\" height=\"180\""+"onmousedown = 'nocopy()'>")
else if (ranimage() == 'Images/13169/img_6.jpg')
document.write("<img src='" +ranimage()+  " ' " + "width=\"186\" height=\"180\""+"onmousedown = 'nocopy()'>")
else if (ranimage() == 'Images/13169/img_7.jpg')
document.write("<img src='" +ranimage()+  " ' " + "width=\"175\" height=\"180\""+"onmousedown = 'nocopy()'>")
else if (ranimage() == 'Images/13169/img_8.jpg')
document.write("<img src='" +ranimage()+  " ' " + "width=\"180\" height=\"180\""+"onmousedown = 'nocopy()'>")
else if (ranimage() == 'Images/13169/img_9.jpg')
document.write("<img src='" +ranimage()+  " ' " + "width=\"171\" height=\"180\""+"onmousedown = 'nocopy()'>")
else if (ranimage() == 'Images/13169/img_10.jpg')
document.write("<img src='" +ranimage()+  " ' " + "width=\"160\" height=\"180\""+"onmousedown = 'nocopy()'>")
else if (ranimage() == 'Images/13169/img_11.jpg')
document.write("<img src='" +ranimage()+  " ' " + "width=\"173\" height=\"180\""+"onmousedown = 'nocopy()'>")
else if (ranimage() == 'Images/13169/img_12.jpg')
document.write("<img src='" +ranimage()+  " ' " + "width=\"134\" height=\"180\""+"onmousedown = 'nocopy()'>")
