function customSelectHover(elm) {
	elm.style.background = '#fafafa';
}
function customSelectOut(elm) {
	elm.style.background = '#fff';
}
function toggleSelectLayer(elm) {
	if(document.getElementById(elm).style.display == 'block') {
		document.getElementById(elm).style.display = 'none';
	}
	else {
		document.getElementById(elm).style.display = 'block';
	}
}

/* Print */
function PrintPage(url,params){
	var PrintWindow = window.open(url + '?TemplateId=18' + params, 'PrintWindow');
	//Print.Window.focus();
}

/* Popup */
function PopUp(url, params,iwidth, iheight){
	//var PopupWindow= 
	window.open(url +'?TemplateId=20' + params, 'PopupWindow', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=1,width='+iwidth+',height='+iheight+',left = 680,top = 440');
	//PopupWindow.Window.focus();
}

/* Send link */
function SendLink(URL, iwidth, iheight,params) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL +'?TemplateId=16' + params, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width='+iwidth+',height='+iheight+',left = 680,top = 440');");
}


function numberOfChecked(f){ 
n = 0 
for (i=0;i<document.forms[f].elements.length;i++){ 
if (document.forms[f].elements[i].checked == true) n++ 
} 
	if (n==0) {
		alert('Please select the publication\(s\) you wish to order')
		}
	else {
		document.forms[f].submit();
		}

} 


var Html1 = '';
Html1 += '<b>Mega Cluster:</b>';
Html1 += '<br>';
Html1 += '<div>A Mega Cluster is a broad industrial area, whose core is the network of <br>';
Html1 += 'suppliers, manufactures and service companies. Around the core you find <br>';
Html1 += 'costumers, knowledge institutions and regulating authorities.<br>';
Html1 += 'The Mega Cluster approach to industrial analysis stems from a new and <br>';
Html1 += 'broader understanding of the comparative advantage of nations. According <br>';
Html1 += 'to this way of thinking, the nations´ competitive power is not only <br>';
Html1 += 'connected to the traditional "line of business approach" but rather to <br>';
Html1 += 'the relative strength of clusters of companies buying and selling goods <br>';
Html1 += 'from each other.</div>';
Html1 += '<br>';
Html1 += '<div>In the drop down menu you can choose one of the twelve Mega Clusters below:</div>';
Html1 += '<ul>';
Html1 += '	<li>';
Html1 += '	<b>Food:</b> Food Companies operating within agriculture, fishing, horticulture, food processing and consultancy companies operating within the food industry. ';
Html1 += '	</li>';
Html1 += '	<li>';
Html1 += '	<b>Furniture/Clothing:</b> Furniture/Clothing Manufacturers of furniture, clothes, shoes etc. and companies designing, developing,	 marketing and selling furniture and clothing. ';
Html1 += '	</li>';
Html1 += '	<li>';
Html1 += '	<b>Tourism:</b> Tourism Companies offering products and activities related to holiday and business travel.';
Html1 += '	</li>';
Html1 += '	<li>	';
Html1 += '	<b>Construction/Housing:</b> Construction/Housing Companies who plan, build, maintain or run buildings and manufacturers of materials and components used in buildings plus related businesses.';
Html1 += '	</li>';
Html1 += '	<li>';
Html1 += '	<b>ICT:</b> IT Companies who research, develop, produce and distribute products and services within IT, software, telecommunications, mail, advertising, film and graphic industries.';
Html1 += '	</li>';
Html1 += '	<li>';
Html1 += '	<b>Transport:</b> Transport Companies who transport goods and persons, trade- and consultancy firms related to these and companies who construct and maintain roads, railroads, bridges etc.';
Html1 += '	</li>';
Html1 += '	<li>';
Html1 += '	<b>Energy/Environment:</b> Energy/Environment Companies who extract and supply energy and water resources or companies who handle and process waste products plus businesses that provide installations, equipment and consultancy service related to this.';
Html1 += '	</li>';
Html1 += '	<li>';
Html1 += '	<b>Life Science:</b> Life Science Companies who produce and market pharmaceuticals, medico-technique etc. plus hospitals, medical practices etc.';
Html1 += '	</li>';
Html1 += '	<li>';
Html1 += '	<b>Metallic Industries/Production Technology:</b> Metallic Industries/Production Technology Companies who handle metal (e.g. cast, forge or roll) for the manufacture of a machine/an equipment.';
Html1 += '	</li>';
Html1 += '	<li>';
Html1 += '	<b>Trade (Wholesale and Retail):</b> Trade (Wholesale and Retail) Retailers and companies who sell products to retailers, manufacturers and craftsmen etc.';
Html1 += '	</li>';
Html1 += '	<li>';
Html1 += '	<b>Operationel service:</b> Operationel service Companies making a living by manual services e.g. maintenance of buildings and green areas, mending and cleaning in private homes, delivery of goods and more traditional welfare services such as eldercare, babysitting etc.';
Html1 += '	</li>';
Html1 += '	<li>';
Html1 += '	<b>Knowledge Service:</b> Knowledge Service Companies selling knowledge primarily to the business community, e.g. management consultants, lawyers, accountants, companies offering private training courses etc.';
Html1 += '	</li>';
Html1 += '	<li>';
Html1 += '	<b>Other:</b> The group "others" is a residual group of branches not naturally belonging to a Mega Cluster. Not because their goods or services are less important, but because their output enters into a number of different Mega Clusters. Banking and insurance are examples of such branches.';
Html1 += '	</li>';
Html1 += '</ul>';
Html1 += '<div>By not making a selection you select all areas.</div>';

var Html2 = '';
Html2 += '';
Html2 += '<b>Area within cluster:</b>';
Html2 += '<br>';
Html2 += 'You can refine your search by choosing one of the following sub areas within ';
Html2 += ' the Mega Cluster: ';
Html2 += '<ul>';
Html2 += '<li>';
Html2 += '<b>The primary sector:</b> Businesses within the primary sector e.g. fishing, mining,<br>';
Html2 += 'natural resources, energy etc.';
Html2 += '</li>';
Html2 += '<li>';
Html2 += '<b>The secondary sector:</b> Businesses involved in production and manufacturing. ';
Html2 += '</li>';
Html2 += '<li>';
Html2 += '<b>The tertiary sector:</b> Businesses operating in branches that perform business ';
Html2 += 'functions auxiliary to production or distribution.';
Html2 += '</li>';
Html2 += '<li>';
Html2 += '<b>Other branches (Within the Mega Cluster)</b> Businesses who perform service incidental ';
Html2 += 'to that within the Mega Cluster: e.g. producers of machinery and production equipment, ';
Html2 += 'manufactures of packing and ';
Html2 += 'wrapping etc.';
Html2 += '</li>';
Html2 += '</ul>';

var Html3 = '';
Html3 += '<b>Mother company, country:</b>';
Html3 += '<br>';
Html3 += 'By filling in this field you can limit your search to businesses with mother <br>';
Html3 += 'companies from a specific country or a specific geographical area. ';

var Html4 = '';
Html4 += '<b>Geographical area:</b>';
Html4 += '<br>';
Html4 += 'You can refine your results to businesses within one of two geographical areas:<br>';
Html4 += 'The Copenhagen Capital Region i.e. Greater Copenhagen covering the City of Cope<br>';
Html4 += '-nhagen, Frederiksberg Municipality, and the county`s of Copenhagen, Frederiksborg<br>';
Html4 += 'and Roskilde or Denmark.';
Html4 += 'The feature is predefined to show only businesses within Greater Copenhagen if <br>';
Html4 += 'nothing else is chosen. ';

var Html5 = '';
Html5 += '<b>No. of employees:</b>';
Html5 += '<br>';
Html5 += 'In this field you can refine your results to businesses of a certain size. Choose <br>';
Html5 += 'the upper and lower limits of your search in the two drop-down menus; "more than" <br>';
Html5 += 'and "less than". If nothing is defined in the menu "more than" the lower limit of <br>';
Html5 += 'the search will be 0, and if nothing is defined in the menu "less than", no upper <br>';
Html5 += 'limit for the number of employees will be defined. ';

var Html6 = '';
Html6 += '<b>Company name:</b>';
Html6 += '<br>';
Html6 += 'This feature permits you to search for a specific company within the database.  <br>';

var Html7 = '';
Html7 += '<b>Mother company name:</b>';
Html7 += '<br>';
Html7 += 'If you know the name of the mother company, you can search for daughter companies  <br>';
Html7 += 'by using this feature. <br>';

var Html8 = '';
Html8 += '<b>Line of business:</b>';
Html8 += '<br>';
Html8 += 'By filling in this field you can limit your search to enterprises operating <br>';
Html8 += 'within a specific line of business.';
/*
Html8 += '<br>';
Html8 += '<br>';
Html8 += 'To get a list of all businesses within a specific branch you must know the <br>';
Html8 += 'four digit NACE-code of the line of business you are looking for. You can <br>';
Html8 += 'also enter a part of the four digit code (e.g. the first one, two or three <br>';
Html8 += 'numbers). This will give you a wider search.';
Html8 += '<br>';
Html8 += '<br>';
*/

function OpenWin(Title,Text) { 
var win;
var sWidth;
var sHeight;
var NS = (document.layers) ? 1 : 0;


win = window.open("","imageviewer","width=430,height=400,menubar=no,toolbar=no,scrollbars=yes");
win.document.open();

win.document.write('<html><head><title>'+Title+'</title>');
win.document.write('<link href="/css/style.css" rel="stylesheet" type="text/css" />');
win.document.write('</head><body>');
win.document.write('<table border="0" cellpadding="10" cellspacing="0" width="100%">');
win.document.write('<tr>');
win.document.write('	<td valign="top">');
win.document.write(Text);
win.document.write('	</td>');
win.document.write('</tr>');
win.document.write('</table>');
win.document.write('</body></html>');
win.document.close();
}


