/* Bannerscript */
/*
function phpads_deliverActiveX(content)
{
document.write(content);
}
*/
/* Script Suche */
function area(){
var aus_search = window.location.search;
var len = aus_search.length;
var par = aus_search.substring(1,len);
var a = par.split("a=")[1];
//alert (a);
return a;
}
function write_options(){
var allsel ="";
var fzsel = "";
var servicesel = "";
var a = area();
//alert (area);
if (a =="a"){allsel = 'selected=true';}
if (a =="f"){fzsel = 'selected=true';}
if (a =="s"){servicesel = 'selected=true';}
document.write('');
document.write('');
document.write('');
document.write('');
document.write('');
document.write('');
}
function check(){
var st = document.getElementById("key").value;
var m = document.getElementById("hybrisform").machine.selectedIndex;
//alert(st);
//alert(m);
//Redirects NICHT bei Suche in Webseiten, in Zeitschriften oder in Service
if ((m!=3) && (m!=2) && (m!=5)){
if (st.toLowerCase() == 'viamedici'){location.href='http://www.thieme.de/viamedici/index.html';return false;}
if (st.toLowerCase() == 'via medici'){location.href='http://www.thieme.de/viamedici/index.html';return false;}
if (st.toLowerCase() == 'examenonline'){location.href='http://www.examenonline.de';return false;}
if (st.toLowerCase() == 'examen online'){location.href='http://www.examenonline.de';return false;}
if (st.toLowerCase() == 'medbits'){location.href='http://www.medbits.thieme.de';return false;}
if (st.toLowerCase() == 'med bits'){location.href='http://www.medbits.thieme.de';return false;}
if (st.toLowerCase() == 'radbase'){location.href='http://www.radbase.thieme.de';return false;}
if (st.toLowerCase() == 'thieme radbase'){location.href='http://www.radbase.thieme.de';return false;}
if (st.toLowerCase() == 'thieme media'){location.href='http://www.thieme.de/thiememedia/index.html';return false;}
if (st.toLowerCase() == 'thiememedia'){location.href='http://www.thieme.de/thiememedia/index.html';return false;}
if (st.toLowerCase() == 'thieme.media'){location.href='http://www.thieme.de/thiememedia/index.html';return false;}
if (st.toLowerCase() == 'pharmedia'){location.href='http://www.thieme.de/thiememedia/index.html';return false;}
if (st.toLowerCase() == 'mediadaten'){location.href='http://www.thieme.de/thiememedia/index.html';return false;}
if (st.toLowerCase() == 'gesundheitsland'){location.href='https://www.gesundheitsland.de/store/index.jsf';return false;}
if (st.toLowerCase() == 'cne'){location.href='http://www.thieme.de/cne-online';return false;}
if (st.toLowerCase() == 'cme'){location.href='http://www.thieme.de/cme/index.html';return false;}
if (st.toLowerCase() == 'dmw'){location.href='http://www.thieme.de/dmw/index.html';return false;}
if (st.toLowerCase() == 'dmw interaktiv'){location.href='http://www.thieme.de/dmw/index.html';return false;}
if (st.toLowerCase() == 'physioonline'){location.href='http://www.thieme.de/physioonline/index.html';return false;}
if (st.toLowerCase() == 'physio online'){location.href='http://www.thieme.de/physioonline/index.html';return false;}
if (st.toLowerCase() == 'physiotherapie online'){location.href='http://www.thieme.de/physioonline/index.html';return false;}
if (st.toLowerCase() == 'ergoonline'){location.href='http://www.thieme.de/ergoonline';return false;}
if (st.toLowerCase() == 'ergo online'){location.href='http://www.thieme.de/ergoonline';return false;}
if (st.toLowerCase() == 'ergotherapie online'){location.href='http://www.thieme.de/ergoonline';return false;}
if (st.toLowerCase() == 'bilddatenbank anatomie'){location.href='http://www.thieme.de/connect/de/product-type/image-database.html';return false;}
if (st.toLowerCase() == 'anatomie-datenbank'){location.href='http://www.thieme.de/connect/de/product-type/image-database.html';return false;}
if (st.toLowerCase() == 'anatomie-bilddatenbank'){location.href='http://www.thieme.de/connect/de/product-type/image-database.html';return false;}
if (st.toLowerCase() == 'arzneimittel datenbank'){location.href='http://www.thieme.de/specials/arzneimittel/';return false;}
if (st.toLowerCase() == 'arzneimittel-datenbank'){location.href='http://www.thieme.de/specials/arzneimittel/';return false;}
if (st.toLowerCase() == 'netter art collection'){location.href='http://www.thieme.de/specials/netter-art-collection/kunstwerke.html';return false;}
if (st.toLowerCase() == 'art collection'){location.href='http://www.thieme.de/specials/netter-art-collection/kunstwerke.html';return false;}
if (st.toLowerCase() == 'netter art'){location.href='http://www.thieme.de/specials/netter-art-collection/kunstwerke.html';return false;}
}
//hybris
if (m==0){
return true;
}
//hybris
if (m==1){
return true;
}
//k2-fz
if (m==2){
document.kzweifz.qt.value = st;
document.kzweifz.submit();
return false;
}
//k2-alle
if (m==3){
document.kzwei.qt.value = st;
document.kzwei.submit();
return false;
}
//xsearch
if (m==4){
document.getElementById("ebibq").value = st
document.getElementById("ebib").submit();
return false;
}
//k2-service
if (m==5){
document.kzweiservice.qt.value = st;
document.kzweiservice.submit();
return false;
}
}
/* Banner-Functions */
function initArray() {
this.length = initArray.arguments.length;
for (var i = 0; i < this.length; i++) {
this[i] = initArray.arguments[i];
}
}
function conv_date(str){
array = str.split(".")
d = array[0];
m = array[1];
y= array[2];
if (m != "10"){m = m.replace("0", "")};
if (d == "10" || d == "20" || d == "30"){}else{d = d.replace("0", "")};
if (m=="1"){m="Jan";}
if (m=="2"){m="Feb";}
if (m=="3"){m="Mar";}
if (m=="4"){m="Apr";}
if (m=="5"){m="May";}
if (m=="6"){m="Jun";}
if (m=="7"){m="Jul";}
if (m=="8"){m="Aug";}
if (m=="9"){m="Sep";}
if (m=="10"){m="Oct";}
if (m=="11"){m="Nov";}
if (m=="12"){m="Dec";}
datum = m+" "+d+", "+y;
return datum;
}
function check_date(d){
var zeit = new Date();
jetzt=zeit.getTime();
if (jetzt >= Date.parse(d)){return true;}else{return false;}
}
function writebanner(rantrgt,ranlink,ranimage,rantext,ranadhint,width,height){
document.write(ranadhint+ '');
}
function writeflashbanner(ranimage,width,height,ranadhint){
document.write(ranadhint+'');
}
function writesky(rantrgt,ranlink,ranimage,rantext,ranadhint,width,height){
document.write('