function showContactForm() {
	var tBg = document.getElementById('overallBg')
	var t = document.getElementById('overall')
	w = window.innerWidth ? window.innerWidth : document.documentElement.clientWidth ? document.documentElement.clientWidth : document.body.clientWidth
	h = window.innerHeight ? window.innerHeight : document.documentElement.clientHeight ? document.documentElement.clientHeight : document.body.clientHeight
	if (document.body.clientHeight && document.body.clientHeight > h) {
		h = document.body.clientHeight
	}
	tBg.style.width = t.style.width = w + 'px'
	tBg.style.height = t.style.height = h + 'px'
	tBg.style.display = t.style.display = 'block'
	t.innerHTML = getContactFormContent()
}

function hideContactForm() {
	var tBg = document.getElementById('overallBg')
	var t = document.getElementById('overall')
	tBg.style.display = t.style.display = 'none'
	return false;
}

function getContactFormContent() {
	html = '<div id="formContainer">' + 
		'<h2>טופס בקשה לקבלת סקיצה</h2>' + 
		'<form action="/contact/" method="post">' + 
		'<table>' + 
		'	<tr>' + 
		'		<th>שם איש/אשת הקשר</th>' + 
		'		<td><input type="text" name="fullname" value="" /></td>' + 
		'	</tr><tr>' + 
		'		<th>שם העסק</th>' + 
		'		<td><input type="text" name="business" value="" /></td>' + 
		'	</tr><tr>' + 
		'		<th>קהל היעד</th>' + 
		'		<td><input type="text" name="target" value="" /></td>' + 
		'	</tr><tr>' + 
		'		<th>פרטים נוספים</th>' + 
		'		<td><textarea name="comments"></textarea></td>' + 
		'	</tr><tr>' + 
		'		<th>אי-מייל</th>' + 
		'		<td><input type="text" name="email" value="" /></td>' + 
		'	</tr><tr>' + 
		'		<th>טלפון</th>' + 
		'		<td><input type="text" name="phone" value="" /></td>' + 
		'	</tr><tr>' + 
		'		<td class="left"><button onclick="return hideContactForm()">ביטול</button></td>' + 
		'		<td class="left"><input type="submit" name="submit" value="שליחה" /></td>' + 
		'	</tr>' + 
		'</table>' + 
		'</form>	' + 
	'</div>'
	return html
}