﻿// JScript File

// made by: Nicolas - http://www.javascript-page.com

var currentdate2 = 0
var core2 = 0

function StringArray2 (n) {
  this.length = n;
  for (var i =1; i <= n; i++) {
    this[i] = ' '

  }
}

image = new StringArray2(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 ran2 = Math.floor(Math.random()*35)

function ranimage2() {
  currentdate2 = new Date()
  core2 = currentdate.getSeconds() + 15
  core2 = Math.floor(core2/ran2) + 5
    return(image[core2])
}

var temp2 = ranimage2()

if (ranimage2() == 'Images/13169/img_1.jpg') 
document.write("<img src='" +ranimage2()+  " ' " + "width=\"189\" height=\"180\""+"onmousedown = 'nocopy()'>")
else if (ranimage2() == 'Images/13169/img_2.jpg') 
document.write("<img src='" +ranimage()+  " ' " + "width=\"180\" height=\"180\""+"onmousedown = 'nocopy()'>") 
else if (ranimage2() == 'Images/13169/img_3.jpg')
document.write("<img src='" +ranimage2()+  " ' " + "width=\"184\" height=\"180\""+"onmousedown = 'nocopy()'>") 
else if (ranimage2() == 'Images/13169/img_4.jpg')
document.write("<img src='" +ranimage2()+  " ' " + "width=\"180\" height=\"180\""+"onmousedown = 'nocopy()'>")
else if (ranimage2() == 'Images/13169/img_5.jpg')
document.write("<img src='" +ranimage2()+  " ' " + "width=\"174\" height=\"180\""+"onmousedown = 'nocopy()'>")
else if (ranimage2() == 'Images/13169/img_6.jpg')
document.write("<img src='" +ranimage2()+  " ' " + "width=\"186\" height=\"180\""+"onmousedown = 'nocopy()'>")
else if (ranimage2() == 'Images/13169/img_7.jpg')
document.write("<img src='" +ranimage2()+  " ' " + "width=\"175\" height=\"180\""+"onmousedown = 'nocopy()'>")
else if (ranimage2() == 'Images/13169/img_8.jpg')
document.write("<img src='" +ranimage2()+  " ' " + "width=\"180\" height=\"180\""+"onmousedown = 'nocopy()'>")
else if (ranimage2() == 'Images/13169/img_9.jpg')
document.write("<img src='" +ranimage2()+  " ' " + "width=\"171\" height=\"180\""+"onmousedown = 'nocopy()'>")
else if (ranimage2() == 'Images/13169/img_10.jpg')
document.write("<img src='" +ranimage2()+  " ' " + "width=\"160\" height=\"180\""+"onmousedown = 'nocopy()'>")
else if (ranimage2() == 'Images/13169/img_11.jpg')
document.write("<img src='" +ranimage2()+  " ' " + "width=\"173\" height=\"180\""+"onmousedown = 'nocopy()'>")
else if (ranimage2() == 'Images/13169/img_12.jpg')
document.write("<img src='" +ranimage2()+  " ' " + "width=\"134\" height=\"180\""+"onmousedown = 'nocopy()'>")

