//頁面sitemap fx

//--horizontal
window.addEvent('domready', function(){

var sitemap_slide = new Fx.Slide('sitemap-area_bar', {mode: 'horizontal'});
	  sitemap_slide.hide();

$('sclose').addEvent('click', function(e){
	e = new Event(e);
	sitemap_slide.slideOut();
	e.stop();
});
 
$('sitemap').addEvent('click', function(e){
	e = new Event(e);
	sitemap_slide.toggle();
	e.stop();
});

$('sitemaptop').addEvent('click', function(e){
	e = new Event(e);
	sitemap_slide.toggle();
	e.stop();
});

});// JavaScript Document

function getkey() {
	switch(event.keyCode) {
		case 96:
		if (event.ctrlKey){
		window.location = "00-about.php";
		}
		break;
		case 97:
		if (event.ctrlKey){
		window.location = "01-service.php";
		}
		break;
		case 98:
		if (event.ctrlKey){
		window.location = "02-news.php";
		}
		break;
		case 99:
		if (event.ctrlKey){
		window.location = "03-portfolio.php";
		}
		break;
		case 100:
		if (event.ctrlKey){
		window.location = "04-member.php";
		}
		break;
		case 101:
		if (event.ctrlKey){
		var sitemap_slide = new Fx.Slide('sitemap-area_bar', {mode: 'horizontal'});
		sitemap_slide.toggle();
		}
		break;
		case 102:
		if (event.ctrlKey){
		window.location = "06-supplier.php";
		}
		break;
		case 103:
		if (event.ctrlKey){
		window.location = "07-exhibition.php";
		}
		break;
		case 104:
		if (event.ctrlKey){
		window.location = "08-branch.php";
		}
		break;
		case 105:
		if (event.ctrlKey){
		window.location = "09-partner.php";
		}
		break;
	}
 }
 
 document.onkeydown=getkey;
