function hid(){
  document.getElementById('obut').style.display = 'none';
  document.getElementById('obut2').style.display = 'none';
  document.getElementById('cas').innerHTML = '';
  document.getElementById('cena').innerHTML = '';
  document.getElementById('info').innerHTML = '';
  return;
}
                    
                    
function getCityList(sel)
{
	var countryCode = sel.options[sel.selectedIndex].value;
	document.getElementById('znacka').options.length = 0;	// Empty city select box
	
	if(countryCode.length>0){
		ajax.requestFile = '/inc2/ajax_vyber.php?typ='+countryCode+'&noall=1&versionmark=<?php echo $versionmark;?>';	// Specifying which file to get
		ajax.onCompletion = createCities;	// Specify function that will be executed after file has been found
		ajax.runAJAX();		// Execute AJAX function
	}
}

function createCities()
{
	var obj = document.getElementById('znacka');
	eval(ajax.response);	// Executing the response from Ajax as Javascript code
}                    


function whichButton(event)
{
 if (event.button==2)//For right click
 {
  alert(msg);
 }

}

// This function is responsible for checking which key is being pressed. If user presses ctrl key then the an alert is coming out that "Sorry, this functionality is disabled.".

function noCTRL(e)
{
 var code = (document.all) ? event.keyCode:e.which;
 
 if (parseInt(code)==17) // This is the Key code for CTRL key
 {
  alert(msg);
  window.event.returnValue = false;
 }
}