ljex.locale.add("hk", "Formulare", hk.lang, function(){
var name=(hk.lang=='en')?'IntName':'Name';
$("p_search").style.height="130px";
$("p_search").style.overflow="hidden";
/*
var dealerSearchForm = new ljex.Form({
	id: 'id_dealerSearchForm',
	footerStyle: 'border-width:0px;background-color: transparent;position:relative;top:-20px;',
	title: 'Händlersuche',
	icon: '/files/images/icons/contact_mail.png',
	renderTo: 'dealerSearch',
	labelWidth: 50,
	url: 'dealer.php5?mode=send',
				
	items: [{
		xtype: 'dropdown',
		label: $_('Formulare','form_land')+' *',
		allowBlank: false,
		id: 'd_land',
		width: 130,
		height: 50,
		table: 'countries,hk_dealer',
		condition: 'd_land=`ISO-3` order by '+name,
		distinct: true,
		displayField: name,
		valueField: 'ISO-3'    
	},{
		xtype: 'textfield',
		label: $_('Formulare','form_plz'),
		id: 'd_plz',
		width: 130
	}],

	buttons:[{
		text: 'Suchen',
		id: 'btn_submit',
		submit: 'ajax',
		handler: function(response){
			var data=eval("("+response.responseText+")");
			location.href='dealer.php5?section=ps';

		}
	}]
}).render();
*/
},this);

function showMipa(){
ljex.Window.zindex=20000;

    var iwin=new ljex.Window({
        id: 'popupWindow',
        title:  'm.i.p.a 2011',
        html: '<div id="divAktion" onclick="window.open(\'http://www1.mipa-award.de/\');" style="cursor:pointer;"></div>',
        width:462,
		height:650,
        center: true,
        focusOpacity: true,
        contentBgColor: '#fff',
        parentId: 'page'
    });
    
    iwin.open(true);

    new ljex.Ajax({
		url: 'index.php5?mode=aktion',
		scope: this,
		callback: function(response){
			var htmlText = response.responseText;
			
			$('divAktion').innerHTML=htmlText;

			iwin.show();

		}
	}).request();
}

