');
}
}
// Netscape Navigator Resize Fix
function NNreloadOnResize(){
if (oldHeight != window.outerHeight || oldWidth != window.outerWidth){
document.location.reload();
}
}
// Navigates to the selected value in named dropdown and named form
function dropdownNav(formName,ddName){
selValue = eval("document.forms[formName]." + ddName + "[document.forms[formName]." + ddName + ".selectedIndex].value")
if (selValue != ""){
window.open(selValue);
//alert(selValue + "\nTridion: function found on row 70 in file script_common.js");
//document.location = selValue;
}
}
/* Validates any form based on the requiredFields Array
- The E-mail field name must be passed as the second argument for e-mail validation to work.
- The requiredFields Array is set above the form in the file that contains the form
*/
function validateForm(formName, emailFieldName){
for (i=0; i
';
document.write(oeTags);
} else {
if(alternateLink != ""){
var alternateContent = ''
}
else{
var alternateContent = ''
}
document.write(alternateContent);
}
}
function detectFlash(){
if (navigator.plugins){
if (navigator.plugins["Shockwave Flash 2.0"]
|| navigator.plugins["Shockwave Flash"]){
var isVersion2 = navigator.plugins["Shockwave Flash 2.0"] ? " 2.0" : "";
var flashDescription = navigator.plugins["Shockwave Flash" + isVersion2].description;
var flashVersion = parseInt(flashDescription.charAt(flashDescription.indexOf(".") - 1));
flash2Installed = flashVersion == 2;
flash3Installed = flashVersion == 3;
flash4Installed = flashVersion == 4;
flash5Installed = flashVersion == 5;
flash6Installed = flashVersion >= 6;
}
}
for (var i = 2; i <= maxVersion; i++){
if (eval("flash" + i + "Installed") == true) actualVersion = i;
}
if(navigator.userAgent.indexOf("WebTV") != -1) actualVersion = 3;
if (actualVersion >= requiredVersion){
hasRightVersion = true;
}
}
function sisMoveToNextPage(){
sida = document.theForm.resultPageSel1.options[document.theForm.resultPageSel1.selectedIndex].value;
document.location.href=sida;
}
function sisMoveToNextPage2(){
sida = document.theForm.resultPageSel2.options[document.theForm.resultPageSel2.selectedIndex].value;
document.location.href=sida;
}
function sisDropdownNav(){
page = document.sisSelectForm.sisDealerSelect.options[document.sisSelectForm.sisDealerSelect.selectedIndex].value;
document.location.href=page;
}
function zoek(){
document.forms.item("search").submit();
}
function klik(){
if (document.all.item("divopties").style.display=="none"){
divopties.style.display="";
}
else{
divopties.style.display="none";
}
}
function melding(txt){
alert(txt);
}
function GeneralSearchNextPage(){
sida = document.search.resultPageSel1.options[document.search.resultPageSel1.selectedIndex].value;
document.location.href=sida;
}
function GeneralSearchNextPage2(){
sida = document.search.resultPageSel2.options[document.search.resultPageSel2.selectedIndex].value;
document.location.href=sida;
}
function popup(url){
if (navigator.appName == 'Netscape'){
window.open(url,'windowName','width=544,height=380,toolbar=yes,location=no,directories=no,status=no,menubar=no,scrollbars=yes');
}
else{
window.open(url,'Title', 'scrollbars, width=544, height=380, resizable, toolbar');
}
}
function sisResellerSelect(){
page = document.sisSelectForm.sisResellers.options[document.sisSelectForm.sisResellers.selectedIndex].value;
document.location.href=page;
}
function openNewWin(url, W, H){
var wihi = "&w="+W+"&h="+H;
if(url.indexOf("?") != -1){
url = url + wihi
}
window.open(url, "windowname", "toolbar=no, location=no, directories=no, status=no, menubar=no, resizable=yes, copyhistory=no, scrollbars=no, width="+W+", height="+H+", top=200, left=300");
}
function popuplink(pUrl, pTitle, W, H, pHeader){
var newwindow
if (newwindow && !newwindow.closed){
newwindow.focus(); newwindow.document.clear()
}
else {
newwindow=window.open('','','width='+W+',height='+H+',resizable=1')
}
newwindow.document.writeln(' ');
newwindow.document.writeln('' + pTitle + '<\/title> <\/head>');
newwindow.document.writeln('