
var globalDelay = 250;		// delay for main tabs
var intCurrentImg = 1;
var globalChange;
var globalChangeTrigger = 1;


function NameplateBlockPosting(ImageThumbnail, ImageThumbnailOver, ThumbnailLink, __flash__bigImage){
	this.ImageThumbnail			= ImageThumbnail;
	this.ImageThumbnailOver     = ImageThumbnailOver;
	this.ThumbnailLink			= ThumbnailLink;
	this.__flash__bigImage		= __flash__bigImage;
}

NameplateBlock = new Array();
NameplateBlock[1] = new NameplateBlockPosting('fileadmin/template/images/start_thumb_norm._1jpg', 'fileadmin/template/images/start_thumb_over_1.jpg', '#', 'fileadmin/template/images/image_start_1.jpg');
NameplateBlock[2] = new NameplateBlockPosting('fileadmin/template/images/start_thumb_norm_2.jpg', 'fileadmin/template/images/start_thumb_over_2.jpg', '#', 'fileadmin/template/images/image_start_2.jpg');
NameplateBlock[3] = new NameplateBlockPosting('fileadmin/template/images/start_thumb_norm_3.jpg', 'fileadmin/template/images/start_thumb_over_3.jpg', '#', 'fileadmin/template/images/image_start_3.jpg');



var LargeImage_1	= new Image();
LargeImage_1.src	= NameplateBlock[1].__flash__bigImage;

var LargeImage_2	= new Image();
LargeImage_2.src	= NameplateBlock[2].__flash__bigImage;

var LargeImage_3	= new Image();
LargeImage_3.src	= NameplateBlock[3].__flash__bigImage;

var OverImage_1	= new Image();
OverImage_1.src	= NameplateBlock[1].ImageThumbnailOver;

var OverImage_2	= new Image();
OverImage_2.src	= NameplateBlock[2].ImageThumbnailOver;

var OverImage_3	= new Image();
OverImage_3.src	= NameplateBlock[3].ImageThumbnailOver;


function showImage(objImage){
	if (document.getElementById){
			document.getElementById("image_big").innerHTML = '<img src="' + NameplateBlock[objImage].__flash__bigImage + '" id="image_big" name="image_big" width="760" border="0"/>';
	}
	return true;
}

function ThumbnailOver(obj,intItem){
	obj.className = 'thumb_' + intItem + 'hover';
	//showImage(intItem);
	if (intItem != intCurrentImg){
		if (document.getElementById){
			document.getElementById("thumb_" + intCurrentImg).className = "thumb_" + intCurrentImg;
			document.getElementById(intCurrentImg + '_links').style.display = 'none';
			
		}
	}
	if (document.getElementById){
		document.getElementById(intItem + '_links').style.display = 'block';
		document.getElementById("image_big").className = "fullimage_" + intItem;
	}
	intCurrentImg = intItem;
	objCurrentThumb = obj;
}

function RestoreDefault(){
	return true;
	ThumbnailOver(document.getElementById('thumb_1'),1);
}
//Change to a new Window
function open_site(x){
	if(x == ""){
		return;
	}else{
		window.location.href = x;
	}
}


