﻿// JavaScript Document

var domain = 'conceptstation.com.hk';
var website_title = 'Concept Station';
var website_domain_url = 'http://'+domain;
var prefix = "/";
var img_folder = 'images';
var img_prefix_url = prefix + img_folder;



function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}


function pageInfo (level, path, folder, title, url_path, img_path)
{
	this.level = level;
	this.path = path;
	this.folder = folder;
	this.title = title;
	this.url_path = url_path;
	this.img_path = img_path;


} // pageInfo

function printTxt (text)
{
	if (text == null) text = '';
	document.write('\n' + text + '\n');
	
}	// printTxt

/*
function printImgTag (src, width, height, vspace, alt, align, border, hspace, ismap, longdesc, usemap, id, class, title, style, lang)
{
	document.write('\n<img src="'+src+'" width="'+width);
	document.write('height="'+height+'"  vspace="'+vspace+'" alt="'+alt);
	document.write('align="'+align+'"  border="'+border+'" hspace="'+hspace);
	document.write('ismap="'+ismap+'"  longdesc="'+longdesc+'" usemap="'+usemap);
	document.write('id="'+id+'"  class="'+class+'" title="'+title);
	document.write('style="'+style+'" lang="'+lang+'">\n');
	
}	// printImgTag
*/
function printImgTag4 (src, width, height, border, vspace)
{
	document.write('\n<img src="'+src+'" width="'+width+'" height="'+height+'" vspace="'+vspace+'" border="'+border+'">\n');
	
}	// printTxt

function printImgTag5 (src, width, height, border, align, hspace)
{
	document.write('\n<img src="'+src+'" width="'+width+'" height="'+height+'" border="'+border+'"  align="'+align+'" hspace="'+hspace+'">\n');
	
}	// printTxt

function printImgTag (src, width, height, border)
{
	document.write('\n<img src="'+src+'" width="'+width+'" height="'+height+'" border="'+border+'">\n');
	
}	// printTxt

function printHrefTag (src, classStr)
{
	document.write('\n<a href="'+src+'"  class="'+classStr+'">\n');
	
}	// printTxt

function printHrefTag2 (src, target)
{
	document.write('\n<a href="'+src+'" target="'+target+'">\n');
	
}	// printTxt

// pageInfo 			(level, path, folder, title, url_path, img_path)
mainHome = new pageInfo(1, './', '', 'Main Home', '', './images');
aboutus = new pageInfo(2, './', 'aboutus', 'About Us', '', './images');
portfolio = new pageInfo(3, './', 'portfolio', 'Portfolio', '', './images');
production = new pageInfo(4, './', 'production', 'Production', '', './images');
contactus = new pageInfo(5, './', 'contactus', 'Contact Us', '', './images');

c_mainHome = new pageInfo(6, './', '', '主頁', '', './images');
c_aboutus = new pageInfo(7, './', '關於我們', '關於我們', '', './images');
c_portfolio = new pageInfo(8, './', '公司業務', '公司業務', '', './images');
c_production = new pageInfo(8, './', '製作', '製作', '', './images');
c_contactus = new pageInfo(10, './', '聯絡我們', '聯絡我們', '', './images');

