// pic-up.showcase.js UTF-8
// copyright (c) Pleasure Sky Corp.
//
function PU_svcwin(svc,top) {
	location = '/pu3/netprint.php?svc='+svc+'&top='+encodeURIComponent(top);
}
function PU_memberwin(top) {
	location = '/pu3/member.php?act=menu'+'&top='+encodeURIComponent(top);
}
function PU_openwin(html,wnam,w,h) {
	wnam = (wnam == undefined) ? 'PU' : wnam;
	w = (w == undefined) ? 650 :  w;
	h = (h == undefined) ? 650 :  h;
	var win = window.open(html,wnam,"height="+h+",width="+w+",menubar=no,location=no,directories=no,toolbar=no,scrollbars=yes,status=no,resizable=yes");
	win.focus();
}

function PU_showcase1( path, imgs, mark, rel) {
	if ( path.charAt( path.length - 1) != '\/') {
		path += '\/';
	}
	if ( rel == undefined) {
		rel = 'showcase';
	}
	document.write( '<ul class="showcase">');
    for ( var i = 0; i < imgs.length; i ++) {
		var n = imgs[ i];
		var code = n.toUpperCase();
		var fname = n.concat( '\.jpg');
		document.write( '<li><p class="code">' + mark + code + '<\/p><table><tr><td><a href="' + path + fname + '"  rel="' + rel +'" title="' + code +'"><img src="' + path + 'MISC\/' + fname + '" alt="" \/><\/a><\/td><\/tr><\/table><\/li>');
	}
	document.write( '<\/ul>');
}

