
function view_dj_tools(){
	
	//Event.observe("dj_tools", 'click', function(event) { Element.hide('dynamic1'); new Ajax.Updater('dynamic1','/store/view6', {asynchronous:true, evalScripts:true, onLoading:function(request) {Element.show('LoadingDiv'); Effect.BlindDown('dynamic1')}, onComplete:function(request) {Element.hide('LoadingDiv')}, parameters:Form.serialize(Event.element(event).form), requestHeaders:['X-Update', 'dynamic1']}) }, false);
	 if (true) {
		Element.hide('dynamic1');
		new Ajax.Updater(document.createElement('div'), '/store//View_DJ_TOOLS', {
			asynchronous: true,
			evalScripts: true,
			onLoading: function(request){
				Element.show('LoadingDiv');
				Effect.BlindDown('dynamic1')
			},
			onComplete: function(request){
				Element.hide('LoadingDiv')
			},
			requestHeaders: ['X-Update', 'dynamic1']
		})
	}

}

function submitenter(th,evt){

	//	$ajax->submit('add_input', array('url' => 'view6', 'update'=>'dynamic1', 'loading' => 'Element.show(\'LoadingDiv\'); Effect.BlindDown(\'dynamic1\')', 'complete' => 'Element.hide(\'LoadingDiv\')', 'before' => 'Element.hide(\'dynamic1\')'));	
	if (evt.keyCode == 13 && navigator.appName == "Microsoft Internet Explorer") {
		Element.hide('dynamic1');
		new Ajax.Updater('dynamic1', '/store/view6', {
			asynchronous: true,
			evalScripts: true,
			onLoading: function(request){
				Element.show('LoadingDiv');
				Effect.BlindDown('dynamic1')
			},
			onComplete: function(request){
				Element.hide('LoadingDiv')
			},
			parameters: Form.serialize(Event.element(evt).form),
			requestHeaders: ['X-Update', 'dynamic1']
		})
	}
	//Event.observe("add_input", 'onkeypress', function(event) { alert(event); }, false);
	//Event.observe('add_input', 'onkeypress', function(event) { Element.hide('dynamic1'); new Ajax.Updater(document.createElement('div'),'/store/view/288/TOMMYWHO+DIGITAL', {asynchronous:true, evalScripts:true, onLoading:function(request) {Element.show('LoadingDiv'); Effect.BlindDown('dynamic1')}, onComplete:function(request) {Element.hide('LoadingDiv')}, requestHeaders:['X-Update', 'dynamic1 dynamic2']}) }, false);


}


function xxx(id)
{
	//alert(id);
var iid="document.form"+id;
iid.submit();
}

