document.write('<div id=\"onlineStoreUrl\" style=\"display:none;\"></div>');
function getSessionID(){
	dojo.io.bind ({
		url: '/getSessionID.do',
		error: function(type, error) {
			// error			
		},
		handler: getSessionIDDate,
		mimetype: "text/plain" 
	});
}


function getSessionIDDate(type, data, evt) {
	var agt=navigator.userAgent; 
	var url = document.getElementById('onlineStoreUrl').innerHTML+"&_mct="+data+"&_in";
	window.location = url;
}

function goToOnlineStore(onlineStoreUrl){
	document.getElementById('onlineStoreUrl').innerHTML = onlineStoreUrl ;
	getSessionID();
}