// require /_js/dom/style.js
// require /_js/browserSniffer/isMacIe.js
// if mac ie, hide 'hideId', should compat browser
function showCompatBrowser(hideId, type) { // type: ['default'(default)|'signInForm']
	var type = (type==null)?'default':type;
	if (isMacIe()) {
		hideElementById(hideId);
		var html = '';
		switch(type) {
			case 'default':
	html = '' +
	'<div class="title">please use other browsers</div>'+
	'<div>' +
	'Currently this browser is not supported for tooldle.  Please use one of the following browser:<br><br>' +
	'<li>Safari 1+</li>' +
	'<li>FireFox 1+ for Mac (<a href="http://www.mozilla.org/products/firefox/all" target="_blank">download latest version</a>)</li>' +
	'</div>' +
	'';
			break;
			case 'signInForm':
	html = '' +
	'<div class="pinkSubHeader">sign-in form: please use other browsers</div>'+
	'<div class="small">' +
	'Currently this browser is not supported for tooldle.  Please use one of the following browser:<br>' +
	'<li>Safari 1+</li>' +
	'<li>FireFox 1+ for Mac (<a href="http://www.mozilla.org/products/firefox/all" target="_blank">download latest version</a>)</li>' +
	'</div>' +
	'';
			break;
		}
		document.write(html);
	}
}