﻿// JScript File
function genFlashHeader() {

    var hasRightVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
    if(hasRightVersion) {  // if we've detected an acceptable version
      var oeTags = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab" width="588" height="190" id="myFlash">'
      + '<param name="movie" value="flash/header.swf">'
      + '<param name="quality" value="high">'
      + '<param name="wmode" value="transparent">'
      + '<embed src="flash/header.swf" quality="high" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="588" height="190" name="myFlash" swLiveConnect="true"></embed>'
      + '</object>'
      document.write(oeTags);   // embed the flash movie
    } else {  // flash is too old or we can't detect the plugin
      var alternateContent ='This content requires the Macromedia Flash Player 8.'
        + '<a href=http://www.macromedia.com/go/getflash/>Get Flash</a>';
      document.write(alternateContent);  // insert non-flash content
    }
    
}

function genFlashHeader2() {

    var hasRightVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
    if(hasRightVersion) {  // if we've detected an acceptable version
      var oeTags = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab" width="239" height="182" id="myFlash">'
      + '<param name="movie" value="flash/ics2007.swf">'
      + '<param name="quality" value="high">'
      + '<param name="wmode" value="transparent">'
      + '<embed src="flash/ics2007.swf" quality="high" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="239" height="182" name="myFlash" swLiveConnect="true"></embed>'
      + '</object>'
      document.write(oeTags);   // embed the flash movie
    } else {  // flash is too old or we can't detect the plugin
      var alternateContent ='This content requires the Macromedia Flash Player 8.'
        + '<a href=http://www.macromedia.com/go/getflash/>Get Flash</a>';
      document.write(alternateContent);  // insert non-flash content
    }
    
}

function genFlashHeader3() {

    var hasRightVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
    if(hasRightVersion) {  // if we've detected an acceptable version
      var oeTags = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab" width="588" height="280" id="myFlash">'
      + '<param name="movie" value="../hrv/flash/header2.swf">'
      + '<param name="quality" value="high">'
      + '<param name="wmode" value="transparent">'
      + '<embed src="../hrv/flash/header2.swf" quality="high" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="588" height="280" name="myFlash" swLiveConnect="true"></embed>'
      + '</object>'
      document.write(oeTags);   // embed the flash movie
    } else {  // flash is too old or we can't detect the plugin
      var alternateContent ='This content requires the Macromedia Flash Player 8.'
        + '<a href=http://www.macromedia.com/go/getflash/>Get Flash</a>';
      document.write(alternateContent);  // insert non-flash content
    }
    
}

function genFlashHeader4() {

    var hasRightVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
    if(hasRightVersion) {  // if we've detected an acceptable version
      var oeTags = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab" width="260" height="195" id="myFlash">'
      + '<param name="movie" value="../hrv/flash/cavtat.swf">'
      + '<param name="quality" value="high">'
      + '<param name="wmode" value="transparent">'
      + '<embed src="../hrv/flash/cavtat.swf" quality="high" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="260" height="195" name="myFlash" swLiveConnect="true"></embed>'
      + '</object>'
      document.write(oeTags);   // embed the flash movie
    } else {  // flash is too old or we can't detect the plugin
      var alternateContent ='This content requires the Macromedia Flash Player 8.'
        + '<a href=http://www.macromedia.com/go/getflash/>Get Flash</a>';
      document.write(alternateContent);  // insert non-flash content
    }
    
}

function genFlashHeader5() {

    var hasRightVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
    if(hasRightVersion) {  // if we've detected an acceptable version
      var oeTags = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab" width="588" height="280" id="myFlash">'
      + '<param name="movie" value="../hrv/flash/coll.swf">'
      + '<param name="quality" value="high">'
      + '<param name="wmode" value="transparent">'
      + '<embed src="../hrv/flash/coll.swf" quality="high" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="588" height="280" name="myFlash" swLiveConnect="true"></embed>'
      + '</object>'
      document.write(oeTags);   // embed the flash movie
    } else {  // flash is too old or we can't detect the plugin
      var alternateContent ='This content requires the Macromedia Flash Player 8.'
        + '<a href=http://www.macromedia.com/go/getflash/>Get Flash</a>';
      document.write(alternateContent);  // insert non-flash content
    }
    
}

function genFlashHeader6() {

    var hasRightVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
    if(hasRightVersion) {  // if we've detected an acceptable version
      var oeTags = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab" width="280" height="250" id="myFlash">'
      + '<param name="movie" value="../hrv/flash/gal.swf">'
      + '<param name="quality" value="high">'
      + '<param name="wmode" value="transparent">'
      + '<embed src="../hrv/flash/gal.swf" quality="high" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="280" height="250" name="myFlash" swLiveConnect="true"></embed>'
      + '</object>'
      document.write(oeTags);   // embed the flash movie
    } else {  // flash is too old or we can't detect the plugin
      var alternateContent ='This content requires the Macromedia Flash Player 8.'
        + '<a href=http://www.macromedia.com/go/getflash/>Get Flash</a>';
      document.write(alternateContent);  // insert non-flash content
    }

}

function genFlashHeader7() {

    var hasRightVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
    if (hasRightVersion) {  // if we've detected an acceptable version
        var oeTags = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab" width="400" height="370" id="myFlash">'
      + '<param name="movie" value="../hrv/flash/INTERNATIONAL_COLLOQUIUM.swf">'
      + '<param name="quality" value="high">'
      + '<param name="wmode" value="transparent">'
      + '<embed src="../hrv/flash/INTERNATIONAL_COLLOQUIUM.swf" quality="high" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="400" height="370" name="myFlash" swLiveConnect="true"></embed>'
      + '</object>'
        document.write(oeTags);   // embed the flash movie
    } else {  // flash is too old or we can't detect the plugin
        var alternateContent = 'This content requires the Macromedia Flash Player 8.'
        + '<a href=http://www.macromedia.com/go/getflash/>Get Flash</a>';
        document.write(alternateContent);  // insert non-flash content
    }

}

function genFlashHeader10() {

    var hasRightVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
    if (hasRightVersion) {  // if we've detected an acceptable version
        var oeTags = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab" width="340" height="370" id="myFlash">'
      + '<param name="movie" value="../hrv/flash/9simpozijEES.swf">'
      + '<param name="quality" value="high">'
      + '<param name="wmode" value="transparent">'
      + '<embed src="../hrv/flash/9simpozijEES.swf" quality="high" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="400" height="370" name="myFlash" swLiveConnect="true"></embed>'
      + '</object>'
        document.write(oeTags);   // embed the flash movie
    } else {  // flash is too old or we can't detect the plugin
        var alternateContent = 'This content requires the Macromedia Flash Player 8.'
        + '<a href=http://www.macromedia.com/go/getflash/>Get Flash</a>';
        document.write(alternateContent);  // insert non-flash content
    }

}
