﻿/*    Customer data  used  in the Home Page.   
<script type="text/javascript" src="config/custdatahome.js"></script> is referenced in the head section of the home page (index.html or indec.php).  
*/

//  1.  Set buttons to IMAGE or TEXT:  IMAGE buttons used  in home page (buttontype = "imagebn"; ), TEXT buttons used in home page  ( buttontype = "textbn"; ),
var buttontype = "imagebn";  

// 2.  Set the url  (custadurl) and  the visible txt (custadtxt) of the customers advertisement 
var custadurl = "../rothenburg/rooms.htm#altfraenkische-weinsube";  
var custadtxt = "Rothenburg Hotels";

// 3. Set the url ( copyrturl ) of the copyright holder and the visible text of the copyright notice ( copyrttxt ) 
// these variables are used by the rrlinkex(...) function in the site.js lib..  
var copyrturl = "http://www.romanticroad.eu/copyright";  
var copyrttxt = "&copy; RomanticRoad e.K.";

// 4.  Set IMAGE button use: no buttons used  (buttonuse = "nobuttons"; ), Image buttons used in home pages ( buttonuse = "homepages"; ),
var buttonuse = "homepages";  

if  (buttonuse == "homepages") 
{
	//  Set the sizes of the Image buttons located on home page 
	var enw = 64;  	var enh = 23;
	var dew = 71; 	var deh = 23;
	// var itw = 74; 	var ith = 21;  
	// var jaw = 57;	var jah = 19; 
	// var zhw = 74;	var zhh = 22;

	// create image objects and pre-load rollover buttons
	english = new Image;english.src = "images/english" + scrw + ".gif";
	englishh = new Image;englishh.src = "images/englishh" + 1024 + ".gif"; 
	deutsch = new Image;deutsch.src = "images/deutsch" + scrw + ".gif"; 
	deutschh = new Image;deutschh.src = "images/deutschh" + 1024 + ".gif"; 
	// italiano = new Image;italiano.src = "images/italiano" + scrw + ".gif"; 
	// italianoh = new Image;italianoh.src = "images/italianoh" + 1024 + ".gif"; 
	// japanese = new Image;japanese.src = "images/japanese" + scrw + ".gif"; 
	// japaneseh = new Image;japaneseh.src = "images/japaneseh" + 1024 + ".gif"; 
	// chinese = new Image;chinese.src = "images/chinese" + scrw + ".gif"; 
	// chineseh = new Image;chineseh.src = "images/chineseh" + 1024 + ".gif"; 
}
