// last update 2009-11-12
// COPYRIGHT(C)astraccha.net.ALL RIGHTS RESERVED.
// Editor - studio CLOVER - info@with-clover.com


$(document).ready(function() {
	$("#footer ul li+li")
	.css("border-left","#0099cc 1px solid")
	.css("padding","0 0 0 0.4em")
	$('a[@href^="#"]').click(function(){
		$($(this).attr("href")).ScrollTo(1000, 'easeout');
		return false;
	});
});

function ChangeImg(mySrc) {
   document.images['Largeimg'].src = mySrc; 
}


function addBookmark(title,url) {
if (window.sidebar) {
window.sidebar.addPanel(title,url,"");
} else if(document.all) {
window.external.AddFavorite(url,title);
} else if(window.opera && window.print) {
return true;
}
}

window.onload = function() {
var w = 600;
var h = 670;
var node_a = document.getElementsByTagName('a');
for (var i in node_a) {
if (node_a[i].className == 'pwindow') {
node_a[i].onclick = function() {
window.open(this.href, '', 'scrollbars=0,toolbars=0,location=0,status=0,menubar=0,resizable=1,width=' + w + ',height=' + h);
return false;
};
}
}
};



var wind;
function mb() {
    wind = window.open("../mobile/index.html", "", "width=406,height=236,scrollbars=no,resizable=no,status=no,menubar=no,toolbar=no,directories=no");
}
