var topics = new Array(); topics[0] = 'welcome'; topics[1] = 'promotions'; topics[2] = 'licensingAdvantage'; topics[3] = 'licensingAdvantageSA'; topics[4] = 'licensingAdvantageOVS'; topics[5] = 'licensingAdvantageAPA'; topics[6] = 'capitalConservation' topics[7] = 'capitalConservationBPOS'; topics[8] = 'capitalConservationFinancing'; topics[9] = 'infrastructureManagement'; topics[10] = 'infrastructureManagementVirtualization'; topics[11] = 'infrastructureManagementUC'; topics[12] = 'infrastructureManagementMDOP'; topics[13] = 'infrastructureManagementBS'; topics[14] = 'travelCommunication'; topics[15] = 'travelCommunicationUC'; topics[16] = 'travelCommunicationBS'; topics[17] = 'energyConsumption'; topics[18] = 'energyConsumptionVista'; topics[19] = 'energyConsumptionVirtualization'; topics[20] = 'insight'; topics[21] = 'insightIntelligence'; topics[22] = 'insightOffice'; topics[23] = 'promotionsOpenL'; function change ( topic ) { for ( x in topics ) { var item = document.getElementById( topics[x] ); if (item != null) document.getElementById( topics[x] ).style.display = 'none'; } if (document.getElementById( topic )!=null) document.getElementById( topic ).style.display = 'block'; $(".log").load("d1.aspx?p381(cn143b31d6-1790-41ae-8c5a-ce1ea9c62a3a)[rc("+topic+")]"); } function createSilverlight( titles ) { if (!window.Silverlight) Silverlight = {}; Silverlight.createDelegate = function(instance, method) { return function() { return method.apply(instance, arguments); } } var scene = new wheel.Page( titles ); Silverlight.createObjectEx({ // Slices variable is created in scene creation of wheel.Page object source: "/global/files/Microsoft/silverlight/"+slices+".xaml", parentElement: document.getElementById("silverlightControlHost"), id: "SilverlightControl", properties: { width: "100%", height: "100%", version: "1.0", isWindowless: "True", background: "#00FFFFFF" }, events: { onLoad: Silverlight.createDelegate(scene, scene.handleLoad), onError: function(sender, args) { var errorDiv = document.getElementById("errorLocation"); if (errorDiv != null) { var errorText = args.errorType + "- " + args.errorMessage; if (args.ErrorType == "ParserError") { errorText += "
File: " + args.xamlFile; errorText += ", line " + args.lineNumber; errorText += " character " + args.charPosition; } else if (args.ErrorType == "RuntimeError") { errorText += "
line " + args.lineNumber; errorText += " character " + args.charPosition; } errorDiv.innerHTML = errorText; } } } }); }