function BrowserHeight()
{
if (window.innerHeight) return window.innerHeight;
else if (document.body && document.body.offsetHeight) return document.body.offsetHeight;
else if (document.documentElement.clientHeight) return document.documentElement.clientHeight;
else return 0;
}

function Resolution()
{
if (window.innerHeight) x = window.innerHeight;
else if (document.body && document.body.offsetHeight) x = document.body.offsetHeight;
else if (document.documentElement.clientHeight) x = document.documentElement.clientHeight;
else x = 600;
}

function Choice()
{
if (x < 650) y = 1;
else if (x >= 650 && x <= 800) y = 2;
else if (x > 800) y = 3;
else y = 1;
}

function Change1(z)
{
if (y == 2) window.location = "../midres/"+z;
else if (y == 3) window.location = "../highres/"+z;
else "";
}

function Change2(z)
{
if (y == 1) window.location = "../lowres/"+z;
else if (y == 2) window.location = "../midres/"+z;
else if (y == 3) window.location = "../highres/"+z;
else ""
}

function ResolutionSwitch(z)
{
BrowserHeight();
Resolution();
Choice();
Change1(z);
}

function ResolutionCheck(z)
{
BrowserHeight();
Resolution();
Choice();
Change2(z);
}

function DetailViewHome_01() {
var win;
win=window.open("../Detailviews/Home_BadHomburg.htm", "Detailview", "height=450,width=565,locationbar=no,resizable=no,dependent=yes");
win.focus();
}

function DetailViewHome_02() {
var win;
win=window.open("../Detailviews/Home_Frankfurt.htm", "Detailview", "height=450,width=565,locationbar=no,resizable=no,dependent=yes");
win.focus();
}

function DetailViewKompetenzen02_01() {
var win;
win=window.open("../Detailviews/Kompetenzen02_Flower_right.htm", "Detailview", "height=450,width=565,locationbar=no,resizable=no,dependent=yes");
win.focus();
}

function DetailViewStyle01_01() {
var win;
win=window.open("../Detailviews/Style01_Mirrorview.htm", "Detailview", "height=450,width=565,locationbar=no,resizable=no,dependent=yes");
win.focus();
}

function DetailViewStyle01_02() {
var win;
win=window.open("../Detailviews/Style01_Mirrordesk.htm", "Detailview", "height=450,width=565,locationbar=no,resizable=no,dependent=yes");
win.focus();
}

function DetailViewStyle01_03() {
var win;
win=window.open("../Detailviews/Style01_Mirrordolls.htm", "Detailview", "height=450,width=565,locationbar=no,resizable=no,dependent=yes");
win.focus();
}

function DetailViewStyle01_04() {
var win;
win=window.open("../Detailviews/Style01_Mirrordolls_Detail.htm", "Detailview", "height=450,width=565,locationbar=no,resizable=no,dependent=yes");
win.focus();
}

function DetailViewStyle02_01() {
var win;
win=window.open("../Detailviews/Style02_Face_left.htm", "Detailview", "height=450,width=565,locationbar=no,resizable=no,dependent=yes");
win.focus();
}

function DetailViewStyle02_02() {
var win;
win=window.open("../Detailviews/Style02_Face_middle.htm", "Detailview", "height=450,width=565,locationbar=no,resizable=no,dependent=yes");
win.focus();
}

function DetailViewStyle02_03() {
var win;
win=window.open("../Detailviews/Style02_Face_right.htm", "Detailview", "height=450,width=565,locationbar=no,resizable=no,dependent=yes");
win.focus();
}

function DetailViewStyle04_01() {
var win;
win=window.open("../Detailviews/Style04_MakeUp_left.htm", "Detailview", "height=450,width=565,locationbar=no,resizable=no,dependent=yes");
win.focus();
}

function DetailViewStyle07_01() {
var win;
win=window.open("../Detailviews/Style07_NailWorkplace.htm", "Detailview", "height=450,width=565,locationbar=no,resizable=no,dependent=yes");
win.focus();
}

function DetailViewStyle07_02() {
var win;
win=window.open("../Detailviews/Style07_MonaBlischke.htm", "Detailview", "height=450,width=565,locationbar=no,resizable=no,dependent=yes");
win.focus();
}

function DetailViewCosmetics01_01() {
var win;
win=window.open("../Detailviews/Cosmetics01_TreatmentPlace.htm", "Detailview", "height=450,width=565,locationbar=no,resizable=no,dependent=yes");
win.focus();
}

function DetailViewCosmetics02_01() {
var win;
win=window.open("../Detailviews/Cosmetics02_Beach.htm", "Detailview", "height=450,width=565,locationbar=no,resizable=no,dependent=yes");
win.focus();
}

function DetailViewCosmetics04_01() {
var win;
win=window.open("../Detailviews/Cosmetics04_CosmeticProducts.htm", "Detailview", "height=450,width=565,locationbar=no,resizable=no,dependent=yes");
win.focus();
}

function DetailViewBadHomburg01_01() {
var win;
win=window.open("../Detailviews/BadHomburg01_Entrance.htm", "Detailview", "height=450,width=565,locationbar=no,resizable=no,dependent=yes");
win.focus();
}

function DetailViewBadHomburg01_02() {
var win;
win=window.open("../Detailviews/BadHomburg01_WaitingArea.htm", "Detailview", "height=450,width=565,locationbar=no,resizable=no,dependent=yes");
win.focus();
}

function DetailViewBadHomburg01_03() {
var win;
win=window.open("../Detailviews/BadHomburg01_TreatmentArea01.htm", "Detailview", "height=450,width=565,locationbar=no,resizable=no,dependent=yes");
win.focus();
}

function DetailViewBadHomburg01_04() {
var win;
win=window.open("../Detailviews/BadHomburg01_Building.htm", "Detailview", "height=450,width=565,locationbar=no,resizable=no,dependent=yes");
win.focus();
}

function DetailViewBadHomburg01_05() {
var win;
win=window.open("../Detailviews/BadHomburg01_TreatmentArea02.htm", "Detailview", "height=450,width=565,locationbar=no,resizable=no,dependent=yes");
win.focus();
}

function DetailViewBadHomburg01_06() {
var win;
win=window.open("../Detailviews/BadHomburg01_Flowers.htm", "Detailview", "height=450,width=565,locationbar=no,resizable=no,dependent=yes");
win.focus();
}

function DetailViewBadHomburg01_07() {
var win;
win=window.open("../Detailviews/BadHomburg01_Reception.htm", "Detailview", "height=450,width=565,locationbar=no,resizable=no,dependent=yes");
win.focus();
}

function DetailViewBadHomburg01_08() {
var win;
win=window.open("../Detailviews/BadHomburg01_Meadow.htm", "Detailview", "height=450,width=565,locationbar=no,resizable=no,dependent=yes");
win.focus();
}

function DetailViewFrankfurt01_01() {
var win;
win=window.open("../Detailviews/Frankfurt01_TreatmentArea01.htm", "Detailview", "height=450,width=565,locationbar=no,resizable=no,dependent=yes");
win.focus();
}

function DetailViewFrankfurt01_02() {
var win;
win=window.open("../Detailviews/Frankfurt01_TreatmentArea02.htm", "Detailview", "height=450,width=565,locationbar=no,resizable=no,dependent=yes");
win.focus();
}

function DetailViewFrankfurt01_03() {
var win;
win=window.open("../Detailviews/Frankfurt01_Entrance.htm", "Detailview", "height=450,width=565,locationbar=no,resizable=no,dependent=yes");
win.focus();
}

function DetailViewFrankfurt01_04() {
var win;
win=window.open("../Detailviews/Frankfurt01_Building.htm", "Detailview", "height=450,width=565,locationbar=no,resizable=no,dependent=yes");
win.focus();
}

function DetailViewFrankfurt01_05() {
var win;
win=window.open("../Detailviews/Frankfurt01_Reception.htm", "Detailview", "height=450,width=565,locationbar=no,resizable=no,dependent=yes");
win.focus();
}

function DetailViewFrankfurt01_06() {
var win;
win=window.open("../Detailviews/Frankfurt01_TreatmentArea03.htm", "Detailview", "height=450,width=565,locationbar=no,resizable=no,dependent=yes");
win.focus();
}

function DetailViewMedien05_01() {
var win;
win=window.open("../Detailviews/Medien05_NicoleMorawitz.htm", "Detailview", "height=450,width=565,locationbar=no,resizable=no,dependent=yes");
win.focus();
}

function DetailViewMedien05_02() {
var win;
win=window.open("../Detailviews/Medien05_NicoleMorawitz_Event01.htm", "Detailview", "height=450,width=565,locationbar=no,resizable=no,dependent=yes");
win.focus();
}

function DetailViewMedien05_03() {
var win;
win=window.open("../Detailviews/Medien05_MissDeutschland01.htm", "Detailview", "height=450,width=565,locationbar=no,resizable=no,dependent=yes");
win.focus();
}

function DetailViewMedien05_04() {
var win;
win=window.open("../Detailviews/Medien05_BuildingFrankfurt.htm", "Detailview", "height=450,width=565,locationbar=no,resizable=no,dependent=yes");
win.focus();
}

function DetailViewMedien05_05() {
var win;
win=window.open("../Detailviews/Medien05_WillHuettner.htm", "Detailview", "height=450,width=565,locationbar=no,resizable=no,dependent=yes");
win.focus();
}

function DetailViewMedien05_06() {
var win;
win=window.open("../Detailviews/Medien05_NicoleMorawitzAndMarie-LuiseMarjan.htm", "Detailview", "height=450,width=565,locationbar=no,resizable=no,dependent=yes");
win.focus();
}

function DetailViewMedien05_07() {
var win;
win=window.open("../Detailviews/Medien05_TreatmentPlace01.htm", "Detailview", "height=450,width=565,locationbar=no,resizable=no,dependent=yes");
win.focus();
}

function DetailViewMedien05_08() {
var win;
win=window.open("../Detailviews/Medien05_NicoleMorawitz_Event02.htm", "Detailview", "height=450,width=565,locationbar=no,resizable=no,dependent=yes");
win.focus();
}

function DetailViewMedien05_09() {
var win;
win=window.open("../Detailviews/Medien05_TreatmentPlace02.htm", "Detailview", "height=450,width=565,locationbar=no,resizable=no,dependent=yes");
win.focus();
}

function DetailViewMedien05_10() {
var win;
win=window.open("../Detailviews/Medien05_Floor.htm", "Detailview", "height=450,width=565,locationbar=no,resizable=no,dependent=yes");
win.focus();
}

function DetailViewMedien05_11() {
var win;
win=window.open("../Detailviews/Medien05_NicoleMorawitz_Event03.htm", "Detailview", "height=450,width=565,locationbar=no,resizable=no,dependent=yes");
win.focus();
}

function DetailViewMedien05_12() {
var win;
win=window.open("../Detailviews/Medien05_MonaBlischke.htm", "Detailview", "height=450,width=565,locationbar=no,resizable=no,dependent=yes");
win.focus();
}

function DetailViewMedien05_13() {
var win;
win=window.open("../Detailviews/Medien05_NicoleMorawitz_Event04.htm", "Detailview", "height=450,width=565,locationbar=no,resizable=no,dependent=yes");
win.focus();
}

function DetailViewMedien05_14() {
var win;
win=window.open("../Detailviews/Medien05_Model.htm", "Detailview", "height=450,width=565,locationbar=no,resizable=no,dependent=yes");
win.focus();
}

function DetailViewMedien05_15() {
var win;
win=window.open("../Detailviews/Medien05_Audience.htm", "Detailview", "height=450,width=565,locationbar=no,resizable=no,dependent=yes");
win.focus();
}

function DetailViewMedien05_16() {
var win;
win=window.open("../Detailviews/Medien05_NicoleMorawitz_Event05.htm", "Detailview", "height=450,width=565,locationbar=no,resizable=no,dependent=yes");
win.focus();
}

function DetailViewMedien05_17() {
var win;
win=window.open("../Detailviews/Medien05_ElisaBirkelbach.htm", "Detailview", "height=450,width=565,locationbar=no,resizable=no,dependent=yes");
win.focus();
}

function DetailViewMedien05_18() {
var win;
win=window.open("../Detailviews/Medien05_MissDeutschland02.htm", "Detailview", "height=450,width=565,locationbar=no,resizable=no,dependent=yes");
win.focus();
}

function DetailViewServices01_01() {
var win;
win=window.open("../Detailviews/Services01_Dressinggown.htm", "Detailview", "height=450,width=565,locationbar=no,resizable=no,dependent=yes");
win.focus();
}

