
function cleartextarea(id){
if (clickedIt == false){
id.value="";
clickedIt=true;
}
}

function cleartextarea2(id){
if (clickedIt2 == false){
id.value="";
clickedIt2=true;
}
}

function cleartextarea3(id){
if (clickedIt3 == false){
id.value="";
clickedIt3=true;
}
}

function cleartextarea4(id){
if (clickedIt4 == false){
id.value="";
clickedIt4=true;
}
}



function cleartextarea5(id){
if (clickedIt5 == false){
id.value="";
clickedIt5=true;
}
}


// Start -->
// Hover Effect for blocks
							  
function thumb1()
{	

	document.getElementById('preview1').style.display = 'block';
	document.getElementById('preview2').style.display = 'none';
	document.getElementById('preview3').style.display = 'none';
	document.getElementById('desc1').style.display = 'block';
	document.getElementById('desc2').style.display = 'none';
	document.getElementById('desc3').style.display = 'none';
	document.getElementById('vin_Number').innerHTML= '1';
          
}		

function thumb2()
{	

	document.getElementById('preview1').style.display = 'none';
	document.getElementById('preview2').style.display = 'block';
	document.getElementById('preview3').style.display = 'none';
	document.getElementById('desc1').style.display = 'none';
	document.getElementById('desc2').style.display = 'block';
	document.getElementById('desc3').style.display = 'none';
	document.getElementById('vin_Number').innerHTML = '2';
	document.getElementById('desc2').style.display = 'block'

  
}

function thumb3()
{	 
if(document.getElementById('preview3'))
 {
	document.getElementById('preview1').style.display = 'none';
	document.getElementById('preview2').style.display = 'none';
	document.getElementById('preview3').style.display = 'block';
	document.getElementById('desc1').style.display = 'none';
	document.getElementById('desc2').style.display = 'none';
	document.getElementById('desc3').style.display = 'block';
    document.getElementById('vin_Number').innerHTML = '3';
 }         
}	
// Start -->
// Hover Effect for blocks
function addImgTop()
{
document.getElementById('vinbehanpinkTopImg').style.backgroundImage = 'url(http://www.helon.nl/images/vin_behan_top_active.jpg)';
document.getElementById('vinbehanpinkCenter').style.backgroundColor = "#e39e55";
document.getElementById('vinbehanpinkBtmImg').style.backgroundImage = 'url(http://www.helon.nl/images/vin_behan_btm_active.jpg)';
}
function removeImgTop()
{
document.getElementById('vinbehanpinkTopImg').style.backgroundImage = 'url(http://www.helon.nl/images/vin_behan_top.png)';
document.getElementById('vinbehanpinkCenter').style.backgroundColor = "#ddccc5";
document.getElementById('vinbehanpinkBtmImg').style.backgroundImage = 'url(http://www.helon.nl/images/vin_behan_bottom.jpg)';
}

function addImgMidle()
{
document.getElementById('vinbehanpinkTopImg1').style.backgroundImage = 'url(http://www.helon.nl/images/vin_behan_top_active.jpg)';
document.getElementById('vinbehanpinkCenter1').style.backgroundColor = "#e39e55";
document.getElementById('vinbehanpinkBtmImg1').style.backgroundImage = 'url(http://www.helon.nl/images/vin_behan_btm_active.jpg)';
}
function removeImgMidle()
{
document.getElementById('vinbehanpinkTopImg1').style.backgroundImage = 'url(http://www.helon.nl/images/vin_behan_top.png)';
document.getElementById('vinbehanpinkCenter1').style.backgroundColor = "#ddccc5";
document.getElementById('vinbehanpinkBtmImg1').style.backgroundImage = 'url(http://www.helon.nl/images/vin_behan_bottom.jpg)';
}
function addImgBtm()
{
document.getElementById('vinbehanpinkTopImg2').style.backgroundImage = 'url(http://www.helon.nl/images/vin_behan_top_active.jpg)';
document.getElementById('vinbehanpinkCenter2').style.backgroundColor = "#e39e55";
document.getElementById('vinbehanpinkBtmImg2').style.backgroundImage = 'url(http://www.helon.nl/images/vin_behan_btm_active.jpg)';
}
function removeImgBtm()
{
document.getElementById('vinbehanpinkTopImg2').style.backgroundImage = 'url(http://www.helon.nl/images/vin_behan_top.png)';
document.getElementById('vinbehanpinkCenter2').style.backgroundColor = "#ddccc5";
document.getElementById('vinbehanpinkBtmImg2').style.backgroundImage = 'url(http://www.helon.nl/images/vin_behan_bottom.jpg)';
}

function addImgLft()
{
document.getElementById('blocktopimage').style.backgroundImage = 'url(http://www.helon.nl/images/blocktopbg_hover.jpg)';
document.getElementById('blockbtmimg').style.backgroundImage = 'url(http://www.helon.nl/images/blockbtmbg_hover.jpg)';
document.getElementById('blockmiddleimg').style.backgroundColor = "#FFFFFF";
}
function removeImgLft()
{
document.getElementById('blocktopimage').style.backgroundImage = 'url(http://www.helon.nl/images/blochtopbg.jpg)';
document.getElementById('blockbtmimg').style.backgroundImage = 'url(http://www.helon.nl/images/blockbtmbg.jpg)';
document.getElementById('blockmiddleimg').style.backgroundColor = "#f9f7f6";
}

function addImgMidle()
{
document.getElementById('blocktopimage1').style.backgroundImage = 'url(http://www.helon.nl/images/blocktopbg_hover.jpg)';
document.getElementById('blockbtmimg1').style.backgroundImage = 'url(http://www.helon.nl/images/blockbtmbg_hover.jpg)';
document.getElementById('blockmiddleimg1').style.backgroundColor = "#FFFFFF";
}
function removeImgMidle()
{
document.getElementById('blocktopimage1').style.backgroundImage = 'url(http://www.helon.nl/images/blochtopbg.jpg)';
document.getElementById('blockbtmimg1').style.backgroundImage = 'url(http://www.helon.nl/images/blockbtmbg.jpg)';
document.getElementById('blockmiddleimg1').style.backgroundColor = "#f9f7f6";
}

//  End -->

  var clickedIt = false;
		var clickedIt2 = false;
		var clickedIt3 = false;
		var clickedIt4 = false;
		var clickedIt5 = false;
		
		
		function lookup(inputString) {
		if(inputString.length == 0) {
			// Hide the suggestion box.
			$('#suggestions').hide();
		} else {
			$.post("http://www.helon.nl/rpc.php", {queryString: ""+inputString+""}, function(data){
				if(data.length >0) {
					$('#suggestions').show();
					$('#autoSuggestionsList').html(data);
				}
			});
		}
	} // lookup
	
	function fill(thisValue) {
		$('#inputString').val(thisValue);
		setTimeout("$('#suggestions').hide();", 200);
	}
