InternetServices = new Image();
InternetServices.src = "images/Internet-Services.jpg";
InternetServicesOver = new Image();
InternetServicesOver.src = "images/Internet-Services_over.jpg";

SEO = new Image();
SEO.src = "images/SEO.jpg";
SEOOver = new Image();
SEOOver.src = "images/SEO_over.jpg";

WebHosting = new Image();
WebHosting.src = "images/WebHosting.jpg";
WebHostingOver = new Image();
WebHostingOver.src = "images/WebHosting_over.jpg";

HostingRates = new Image();
HostingRates.src = "images/HostingRates.jpg";
HostingRatesOver = new Image();
HostingRatesOver.src = "images/HostingRates_over.jpg";

HostingSignup = new Image();
HostingSignup.src = "images/HostingSignup.jpg";
HostingSignupOver = new Image();
HostingSignupOver.src = "images/HostingSignup_over.jpg";

Contact = new Image();
Contact.src = "images/Contact.jpg";
ContactOver = new Image();
ContactOver.src = "images/Contact_over.jpg";

PrintPage = new Image();
PrintPage.src = "images/PrintMe.jpg";
PrintPageOver = new Image();
PrintPageOver.src = "images/PrintMe_over.jpg";

Special = new Image();
Special.src = "images/Special.jpg";
SpecialOver = new Image();
SpecialOver.src = "images/Special_over.jpg";

DomainCheck = new Image();
DomainCheck.src = "images/DomainCheck.jpg";
DomainCheckOver = new Image();
DomainCheckOver.src = "images/DomainCheck_over.jpg";

function roll_over(current_name,new_state){
	document[current_name].src = eval(new_state + ".src");
};

function mdn(){
  if (event.button==2) {
   window.external.AddFavorite("http://www.dnh.co.za/","D'nH - Web Hosting and SEO Services. ");
  };
};

function GoInternetServices() {
	parent.frames.mainBody.location.href ='Internet-Service-Provider.htm';
}

function GoSEO(){
	parent.frames.mainBody.location.href ='SEO.htm';
};

function GoSpecial(){
	parent.frames.mainBody.location.href ='Special.htm';
};

function GoHome(){
	parent.frames.mainBody.location.href ='Main.htm';
};

function GoWebHosting(){
	parent.frames.mainBody.location.href ='WebHosting.htm';
};

function GoHostingRates(){
	parent.frames.mainBody.location.href ='web-hosting-rates.htm';
};

function GoHostingSignup(){
	//alert("localhost")
	//parent.location.href= "secure/HostingSignup.htm";
	parent.location.href= "https://secure.bucky.co.za/dnh/HostingSignup.htm";
};

function GoContact(){
	parent.frames.mainBody.location.href ='Contact.htm';
};

function GoDomainCheck(){
	parent.frames.mainBody.location.href ='DomainCheck.htm';
};

function GoBucky(){
	window.open("http://www.bucky.co.za");
};

function PrintPage(){
	this.print();
};

function contactFormSubmitted()
{
	if (document.all.query.value == "")
	 {
		alert('Query Field is Empty');
		document.all.query.focus();
	 }
	else
	 {
		document.all.theFormSelf.submit()
	 }
}
