// JavaScript Document

window.onload = function () {
	//alert('in coming_soon.js');
	
	if(!document.getElementById("coming_soon")) return false;
	if(!document.getElementById("ok_btn")) return false;
	//alert('found both');
	
	coming_soon_div = document.getElementById("coming_soon");
	
		
	var links = document.getElementsByTagName("a");

	for (var i = 0; i < links.length; i++) {
		
		var href_text = links[i].getAttribute("href"); //create an array of the urls and begin counting each url
		
		if (href_text == "#"){
			
			links[i].onclick = function () {
				
				show_message();
	
				return false;
			}
		}
	}
	
	ok_btn = document.getElementById("ok_btn");
	
	ok_btn.onclick = function() {
		
		hide_message();
		
		return false;
		
	}
	
}


function show_message() {
	
	coming_soon_div.style.visibility = "visible";
	
}

function hide_message() {
	
	coming_soon_div.style.visibility = "hidden";
	
}