var OCRB = {
	src: '/assets/templates/visionpm/OCRB.swf'
	,ratios: [9,1.27,13,1.19,25,1.14,29,1.11,30,1.12,40,1.11,41,1.1,42,1.11,58,1.1,105,1.09,108,1.08,112,1.09,114,1.08,115,1.09,121,1.08,123,1.09,1.08]
};

var poptitle='';
var popurl='';
//function openUrl() {tb_show('[+wf.title+]','[+wf.link+]?keepThis=true&amp;TB_iframe=true&amp;height=300&amp;width=500');}
function openUrl(pageTitle,pageUrl){
	//tb_show(poptitle, popurl+'?keepThis=true&amp;TB_iframe=true&amp;height=300&amp;width=800');
	//alert('test');
	//alert(pageTitle+' - '+pageUrl);
	
	//this.blur();
	//return false;
	tb_remove();
	//alert(pageUrl);
	//tb_show(pageTitle, pageUrl+'?keepThis=true&amp;TB_iframe=true&amp;height=300&amp;width=500');
	tb_show(pageTitle, pageUrl+'?keepThis=true&amp;TB_iframe=true&amp;height=300&amp;width=500', false);
	//this.blur();
	//return false;
//href="/[~33~]?keepThis=true&amp;TB_iframe=true&amp;height=300&amp;width=500"
	//this.blur();
	//return false;
}

sIFR.domains = ['visionpm.nl', 'visionpm.eu', '*.visionpm.nl', '*.visionpm.eu' ];
sIFR.fitExactly = true;
sIFR.activate(OCRB);

sIFR.replace(OCRB, {
	selector: 'h1,h2,h3,h4,h5,h6'
	,css: [
	'.sIFR-root{color:#214f84;font-weight:bold}'
	,'a{text-decoration:none;}'
	,'a:link{color:#214f84;}'
	,'a:hover{color:#214f84;text-decoration:underline;}'
	]
	,transparent: true
});
sIFR.replace(OCRB, {
	selector: '.linkmore'
	,css: [
	'.sIFR-root{color:#214f84;font-weight:bold}'
	,'a{text-decoration:none;}'
	,'a:link{color:#214f84;}'
	,'a:hover{color:#214f84;text-decoration:underline;}'
	]
	,forceSingleLine: true
	,transparent: true
});
sIFR.replace(OCRB, {
	selector: '.menu,.innersubmenu'
	,css: [
	'.sIFR-root{color:#214f84;font-weight:normal}'
	,'a{text-decoration:none;}'
	,'a:link{color:#214f84;}'
	,'a:hover{color:#214f84;text-decoration:underline;}'
	]
	,forceSingleLine: true
	,transparent: true
});
sIFR.replace(OCRB, {
	selector: '.footermenu'
	,css: [
	'.sIFR-root{color:#214f84;font-weight:normal}'
	,'a{text-decoration:none;}'
	,'.thickbox{color:#214f84;}'
	,'a:link{color:#214f84;}'
	,'a:hover{color:#214f84;text-decoration:underline;}'
	]
	,forceSingleLine: true
	,transparent: true
	//,onRelease: function(){tb_show(window.poptitle,window.popurl);}
});
sIFR.replace(OCRB, {
	selector: '.submenu'
	,css: [
	'.sIFR-root{color:#abc3d9;font-weight:normal}'
	,'a{text-decoration:none;}'
	,'a:link{color:#abc3d9;}'
	,'a:hover{color:#6a8eb0;text-decoration:underline;}'
	]
	,forceSingleLine: true
	,transparent: true
});
sIFR.replace(OCRB, {
	selector: '.currentmenu,.currentfootermenu,.currentinnersubmenu'
	,css: [
	'.sIFR-root{color:#214f84;font-weight:bold}'
	,'a{text-decoration:underline;}'
	,'a:link{color:#214f84;}'
	,'a:hover{color:#214f84;text-decoration:underline;}'
	]
	,forceSingleLine: true
	,transparent: true
});
sIFR.replace(OCRB, {
	selector: '.currentsubmenu'
	,css: [
	'.sIFR-root{color:#6a8eb0;font-weight:bold}'
	,'a{text-decoration:underline;}'
	,'a:link{color:#6a8eb0;}'
	,'a:hover{color:#6a8eb0;text-decoration:underline;}'
	]
	,forceSingleLine: true
	,transparent: true
});
