function selmark(curSel)
{
	markURL = "index.php?pageId=37&car_mark=";
	
	mark = curSel.options[curSel.selectedIndex].value;
	
	if(mark != "")
	{
		window.location = markURL+mark;	
	} else {
		window.locaton = "index.php?pageId=1";
	}
}

function OpenC(theURL,winName,features)
  {
     var Win=window.open(theURL,winName,features);
     Win.focus();
     return false;
  }

function flash_version(){

   var d, n = navigator, m, f = 'Shockwave Flash';

   if((m = n.mimeTypes) && (m = m["application/x-shockwave-flash"]) && m.enabledPlugin && (n = n.plugins) && n[f]) {d = n[f].description}

   else if (window.ActiveXObject) { try { d = (new ActiveXObject((f+'.'+f).replace(/ /g,''))).GetVariable('$version');} catch (e) {}}

   return d ? d.replace(/\D+/,'').split(/\D+/) : [0,0];

}  
