Scripts

Type.registerNamespace(“aw”);_aw.$CN=function(n,t,i){_aw.$CN.initializeBase(this);this.$81=n;this.$1dy=t;this.$131=i};function $6HK(n,t){n.set$R4(t)}aw.$CN.prototype={$1dy:!1,$131:!1,$81:null,$mZ:null,$1O7:null,get$58O:function(){if(this.$1dy){if(!this.$mZ){a.$5.$1U(_aw.$CN.$D,”GetWacIFrameUrl”);this.$mZ=”about:blank”;var n=new _aw.$11f(this.$81);var t=this;n.add$2j(function(i){if(js.$8.$c(n.$3Du))$6HK(t,_u.Strings.l_WacIFrameUrlGenerationFailed_Text);else{_js.Trace.logInfo(_a.$0.$1e,”WAC iframe URL: {0}”,n.$3Du);t.$mZ=n.$3Du;$6(t,”IframeUrl”)}});OwaApplication.$1R.$x(n)}return this.$mZ}if(this.$131){this.$mZ||(this.$mZ=String.format(_g.$5r.get$678(),encodeURIComponent(this.$81)));return this.$mZ}return””},get_$R4:function(){return this.$1O7},set_$R4:function(n){if(this.$1O7!==n){this.$1O7=n;$6(this,”Error”)}return n}};aw.$fw=function(){};_aw.$fw.prototype={$I:function(n,t,i){return new _aw.$CN(n,t,i)}};function DocumentAttachmentViewModelsComponent(){}DocumentAttachmentViewModelsComponent.prototype={$1Qp:function(n,t,i){var r=this;n.$9h(_aw.$fw).$9NY(IDocumentAttachmentViewModelFactory).$9Na(function(){return new _aw.$fw})},$7M9:function(){return[]}};_aw.$11f=function(n){_aw.$11f.initializeBase(this);this.$81=n};_aw.$11f.prototype={$81:null,$3Du:null,$7ai:function(n){var t=new _g.$11g(this.$26);n.$3cp(this.$81,t,this.$$d$9P1,this.$$d_$9P2)},$8s9:function(n,t,i){this.$3Du=n;t();a.$5.$1C(null,”GetWacIFrameUrl”)}};_aw.$kq=function(n){_aw.$kq.initializeBase(this,[n]);this.set$7(“DocumentAttachmentView”)};aw.$kq.prototype={$3Z:null,$4M:function(){_js.$6.prototype.$4M.call(this);if(!$9(this.$e)){this.$3Z=this.$e.$11(“LegacyOfficeDocumentBody”);this.$3Z.get$J()[0].id=”LegacyOfficeDocumentBody”}}};aw._TI=function(){};_aw._TI.$$cctor=function(){new _A(“DocumentAttachmentView”,function(){var t=_aw._TI._hf.childNodes[0].cloneNode(!0);var n=new _b.$Hf(t.children[0]);n.$0(_E.$1([“IframeUrl”],[_aw._TI.$7pr],null,”Source”,null,_aw._TI.$CJ,1));n.set$3(“_aw_2”);return new _B(t,[n]).R({LegacyOfficeDocumentBody:n})},_aw.$CN,_aw.$kq,!1,!1,!1,0)};_aw._TI.$Bc=function(){var n=window.document.createElement(“DIV”);n.innerHTML=”

“;js.$F.get$B6().appendChild(n);return n};aw._TI.$7pr=function(n){return n.get$58O()};aw._TI.$CJ=function(n,t){n.set$ES(t)};_aw.$CN.registerClass(“_aw.$CN”,_a.$EW,IDocumentAttachmentViewModel);_aw.$fw.registerClass(“_aw.$fw”,null,IDocumentAttachmentViewModelFactory);DocumentAttachmentViewModelsComponent.registerClass(“DocumentAttachmentViewModelsComponent”,null,_a.$1Cm);_aw.$11f.registerClass(“_aw.$11f”,_h.$J4.$$(String));_aw.$kq.registerClass(“_aw.$kq”,_js.$6);_aw._TI.registerClass(“_aw._TI”);_aw.$CN.$D=_a.$0.$1e;_aw._TI._hf=_aw._TI.$Bc();_aw._TI.$$cctor()

Tech Mortal

As young generation is flexible using the mouse pointer and old generation feels uncomforted while using them, there is a need of introduction of human computer interface that may provide a smooth platform for them.

Human Computer Interaction is the way where we can solve these issues. Human Computer Interaction is the relationship between human and user. It provides interfaces between user and human. It is used in many areas like as, behavioral sciences, computer science, and design. Some of models were derived from need and it handles some collaboration to achieve goal.

Collaboration means a process of two modules work together to achieve some specific goal.

Using this human interface would come into following advantages-
1) It can be used by novice user to skilled domain worker.(Old person would easily accept this)
2) It has some advanced knowledge such as
• Knowledge about problem
• Knowledge about communication
• Knowledge about modules

WD.css

BODY {
font-family:Helvetica, Arial, sans-serif;
background-color:#ffffff;
font-size:10pt;
padding-left:0pt;
padding-top: 0pt;
padding-right: 0pt;
padding-bottom: 0pt;
line-height: 13pt;
}

P {
margin:0;
font-size:10pt;
line-height: 13pt;
padding-bottom: 6px;
}

OL {
margin-left: 17px;
padding-left: 5px;
margin-top:0px;
margin-bottom:0px;
list-style-position: outside;
font-size: 10pt;
line-height: 13pt;
font-family: Arial, Helvetica, sans-serif;
}

UL {
margin-top:0px;
margin-bottom:0px;
padding-bottom: 4pt;
margin-left: 7px;
padding-left: 8px;
font-size: 10pt;
list-style-position: outside;
list-style-type: disc;
padding-top: 4pt;
line-height: normal;

}

ol li {
padding-bottom: 6px;
}
ol ul li {
padding-bottom: 2px;
}
.stepintro {
font-size: 10pt;
font-weight: bold;
padding-bottom: 4px;
padding-top: 4px;
}
.heading1 {
font-family: Arial, Helvetica, sans-serif;
font-size: 14pt;
font-style: normal;
line-height : normal;
font-weight: bold;
letter-spacing: normal;
text-align: left;
word-spacing: normal;
padding-bottom: 6pt;
}
h2 {
font-family: Arial, Helvetica, sans-serif;
font-size: 12pt;
font-weight: bold;
margin-top: 0px;
margin-bottom: 0px;
padding-bottom: 3pt;
padding-top: 2pt;
}

#nav { width:25%; padding:0.3em;
background:#fff; color:#000;
position:fixed}
#content { position: absolute; top: 1em; left: 8em;
padding-bottom:0.5em; }
#nav hr { display: none; }
#nav ul { margin: 0 0 0 1em; padding: 0; }
#nav li { margin: 0; padding: 0; }

#topictitlebox {
display: inline;
margin-left: 100px;
width: 88%;
line-height : normal;
border: none;
}

#producticonbox {
display: inline;
margin-top: 15px;
margin-right: 10px;
float: left;
}

#columns {
position: relative;
top: 0;
right: 0;
padding-right: 0em;
}
#right {
position: absolute;
top: 0.3em;
right: 5px;
width: 70%;
padding-left: 10px;
border-left-width: 3px;
border-left-style: solid;
border-left-color:gray;

}

a:hover {
text-decoration: underline;
}

.navlink {
font-size: 10pt;
font-family: Arial, Helvetica, sans-serif;
line-height: 12pt;
text-decoration: none;
margin-left: 0px;
margin-top: 0px;
margin-bottom: 8px;
}

/* START NAVBAR STYLES */

#navbox {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 20px;
float: left;
padding-top: -2px;
border-bottom: 1px solid #939393;
background-color: #dddddd;
z-index: 99;
}

.gradient {
background-image: -webkit-gradient(linear, left top, left bottom, from(#e9e9e9), to(#d1d1d1), color-stop(0.5, #d1d1d1));
-webkit-background-origin: border;
}

#navleftbox {
position: relative;
font-size: 10px;
position: absolute;
top: -1px;
left: 15px
}

#navrightbox {
float: right;
position: relative;
top: -1px;
font-size: 10px;
margin-right: 24px;
}

.navlink_left {
color: #333;
font-weight: normal;
line-height: 22px;
text-align: left;
vertical-align: middle;
text-shadow: #FFFFFF 0px 1px 0;
}

.navlink_right {
color: #333;
font-weight: normal;
line-height: 22px;
margin-left: 8px;
text-align: right;
vertical-align: middle;
text-shadow: #FFFFFF 0px 1px 0;
}

/* End Navbar styles */

Data_ Collection.js

/*! $FileVersion=1.0.127 */ var data_collection_fileVersion = “1.0.127”;
var getDataCollectionConfig=function(){var a={wmi:{Win32_OperatingSystem:{Caption:{“Device.OS.Type”:{preprocessorName:”noop”,aggregatorName:”useFirst”}},Version:{“Device.OS.Version”:{preprocessorName:”noop”,aggregatorName:”useFirst”}}},Win32_TimeZone:{Bias:{“Device.TimeZone.Bias”:{preprocessorName:”toInt”,aggregatorName:”useFirst”}}}},registry:{“HKLM\\SOFTWARE\\Microsoft\\Cryptography”:{MachineGuid:{dictid:”Microsoft.Machine.Guid”,}},”HKLM\\SOFTWARE\\McAfee\\McClientAnalytics”:{“Analytics.ContextId”:{dictid:”Hit.UserID”,obfuscated:true},WSS_HardwareId:{dictid:”WSS.Hardware.ID”,},WSS_SoftwareId:{dictid:”WSS.Software.ID”,},”CSP.Device.Id”:{dictid:”CSP.ClientId.CA”,}},”HKLM\\Software\\McAfee\\MSC\\Settings\\InProductTransaction”:{enable:{dictid:”WSS.InProductTransaction”,}},”HKLM\\Software\\McAfee\\MSC\\Settings\\Alerts\\SegmentDetails”:{EESegmentID:{dictid:”WSS.Segment.ID”,},EESegmentTypeID:{dictid:”WSS.Segment.Type.ID”,}},”HKLM\\Software\\McAfee\\MSC\\AppInfo\\Substitute”:{build:{dictid:”WSS.MSC.Version”,}},”HKLM\\Software\\McAfee\\MPF\\AppInfo\\Substitute”:{build:{dictid:”WSS.MPF.Version”}},”HKLM\\Software\\McAfee\\MPS\\AppInfo\\Substitute”:{build:{dictid:”WSS.MPS.Version”}},”HKLM\\Software\\McAfee\\MQS\\AppInfo\\Substitute”:{build:{dictid:”WSS.MQS.Version”}},”HKLM\\Software\\McAfee\\MSK\\AppInfo\\Substitute”:{build:{dictid:”WSS.MSK.Version”}},”HKLM\\Software\\McAfee\\NGM”:{Version:{dictid:”WSS.NGM.Version”}},”HKLM\\Software\\McAfee\\VUL\\AppInfo\\Substitute”:{build:{dictid:”WSS.VUL.Version”}},”HKLM\\SOFTWARE\\McAfee\\VirusScan\\InstallSettings\\Substitute”:{build:{dictid:”WSS.VSO.Version”},ContentVersion:{dictid:”WSS.VSO.Content.Version”}},”HKLM\\Software\\Wow6432Node\\McAfee\\SystemCore”:{system_core_version:{dictid:”WSS.VSCore.Version.x64″}},”HKLM\\Software\\McAfee\\SystemCore”:{system_core_version:{dictid:”WSS.VSCore.Version.win32″}},”HKLM\\SOFTWARE\\McAfee\\AVSolution\\AVS\\AVS”:{szAMCoreVersion:{dictid:”WSS.Amcore.Version”}},”HKLM\\Software\\McAfee\\CoreUI”:{CoreUIVersion:{dictid:”WSS.CoreUI.Version”},Enabled:{dictid:”WSS.CoreUI.Enabled”}},”HKLM\\Software\\McAfee\\CSP”:{Version:{dictid:”WSS.CSP.Version”}},”HKLM\\Software\\McAfee\\SiteAdvisor”:{FullVersion:{dictid:”WSS.MSAD.Version”},UUID:{dictid:”WSS.MSAD.UUID”}},”HKLM\\SOFTWARE\\McAfee\\MSC\\Settings\\McProMgr”:{WSCState:{dictid:”WSS.WSC.Protection.Status”}},”HKLM\\SOFTWARE\\McAfee\\MSC\\SubManager\\Cache\\vso”:{package_id:{dictid:”WSS.Package.ID”,obfuscated:true,},product_key:{dictid:”WSS.Product.Key”,obfuscated:true,},settings:{dictid:”WSS.Expiry.Date”,obfuscated:true,},extended_expiry_dt:{dictid:”WSS.Extended.Expiry.Date”,obfuscated:true,},accnt_id:{dictid:”WSS.Account.ID”,obfuscated:true,},trial:{dictid:”WSS.IsTrial”,obfuscated:true,},package_name:{dictid:”WSS.Package.Name”,obfuscated:true,},installed:{dictid:”WSS.Install.Date”,obfuscated:true,},flex_pkg_id:{dictid:”WSS.Flex.Package.ID”,obfuscated:true,},flags:{dictid:”WSS.Flags”,obfuscated:true},e_mail:{dictid:”WSS.User.Email”,obfuscated:true}},”HKLM\\Software\\McAfee\\MSC\\AppInfo\\Substitute\\QueryParams”:{affid:{dictid:”WSS.Affiliate.ID”,},EulaDt:{dictid:”WSS.Eula.Accepted.Date”,},culture:{dictid:”WSS.Culture.ID”,},rcode:{dictid:”WSS.Release.Name”,},cohortsegid:{dictid:”Legacy.Cohort.Id”}}},CSP:{ClientID:{appID:”a053060c-3a34-11e4-8a01-005056b7244f”,dictid:”CSP.ClientId”,},PolicyItems:{“df77019b-eb61-4417-b1a7-ad644a389fb4″:{Test_Event_To_CSP:{dictid:”CoreUI.CSP.Policy.TestEvent.Enabled”,}}},AppPolicyItems:{“eb8e0511-f15f-4b76-93c5-d7363ef0851d”:{“a053060c-3a34-11e4-8a01-005056b7244f”:{context_scheduled_task:{dictid:”NGM.WSS.PolicyItem.ScheduledTask.Enabled”,},”message_categories.milestone.enabled”:{dictid:”NGM.WSS.Message.SubscriptionMilestone.Enabled”,},”message_categories.registration.enabled”:{dictid:”NGM.WSS.Message.Registration.Enabled”,},”message_categories.pre_uninstall.enabled”:{dictid:”NGM.WSS.Message.PreUninstall.Enabled”,}}}},CachedData:{“a053060c-3a34-11e4-8a01-005056b7244f”:{CSP_COHORT_V1:{id:{dictid:”NGM.Cohort.ID”,}}}}}};return a};ModuleManager.registerFactory(“data_collection”,getDataCollectionConfig);
//

lyric_Play.js

var lyricPlay = {

processLyricStyles : function(lyricsJSON, offset, skew, view, config, override) {

//whitelist of style parameters & details on how to process them
var styleProcessing = {

textColor : function() {
view.style.color = lyricStyle.rgbaHexToCssDecimal(textStyles.textColor);
},

fontName : function() {
view.style.fontFamily = lyricsJSON.styles[0].texts.text.fontName.split(‘.’)[0] + “, Impact”;
config.fontName = lyricsJSON.styles[0].texts.text.fontName.split(‘.’)[0] + “, Impact”;
//console.log(“Specified font : ” + lyricsJSON.styles[0].texts.text.fontName.split(‘.’)[0]);
},

glowColorHighlight : function() {

},

textColorHighlight : function() {

},

glowRadius : function() {

},

strokeColorHighlight : function() {
//view.style.webkitTextStroke = textStyles.strokeWidth + “px ” + lyricStyle.rgbaHexToCssDecimal(textStyles.strokeColorHighlight);
},

transitionDuration : function() {

},

textCase : function() {
var textCase = lyricStyle.textCase(textStyles.textCase);
config.textCase = textCase;
view.style.textTransform = textCase;
},

strokeWidth : function() {
// THIS is not needed, already covered in strokeColor
},

lineSpacing : function() {

},

textShadowScale : function() {

},

textShadowColor : function() {

},

xRotation : function() {

},

yRotation : function() {

},

textColorBottom : function() {
var styling = ‘.lyricsCurrent { color: ‘ + lyricStyle.rgbaHexToCssDecimal(textStyles.textColorBottom) + ‘; } ‘;
lyricStyle.insertCSSNode(styling);
},

textColorTop : function() {
view.style.color = lyricStyle.rgbaHexToCssDecimal(textStyles.textColorTop);
},

textColorTopEnd : function() {

},

strokeColor : function() {

},

startAngle : function() {

},

yRotation : function() {

},

backgroundGradient : function() {
view.style.backgroundImage = lyricStyle.generateOldCSSGradient(scenes.scene.backgroundGradient, scenes.scene.backgroundAngle);
view.style.backgroundImage = lyricStyle.generateCSSGradient(scenes.scene.backgroundGradient, scenes.scene.backgroundAngle);
},

minFlicksCount: function() {

/*
* Flicking Example
*
* minFlicksCount: 5
* maxFlicksCount: 15
* flickingDurationMin: “0.5”
* flickingDurationMax: 1
*
*/

var textColourHighlight = lyricStyle.rgbaHexToCssDecimal(textStyles.textColorHighlight);
var glowColorHighlight = lyricStyle.rgbaHexToCssDecimal(textStyles.glowColorHighlight);
var strokeWidth = textStyles.strokeWidth *2;
var strokeColorHighlight = lyricStyle.rgbaHexToCssDecimal(textStyles.strokeColorHighlight);
var glowRadius = textStyles.glowRadius;
var flickerColor = ‘inherit’;

var flickerDuration = ( parseFloat(textStyles.flickingDurationMin) + parseFloat(textStyles.flickingDurationMax) ) / 2 ;
//Looks better at 0.4 – should this be hardcoded ?
flickerDuration = 0.4;

var flickerCount = parseInt( ( parseFloat(textStyles.minFlicksCount) + parseFloat(textStyles.maxFlicksCount) ) / 2 ) ;
//Looks better at 7 – should this be hardcoded ?
flickerCount = 7;

//no
glowColorHighlight = textColourHighlight;
textColourHighlight = ‘#F8F8F8’;

var styling = ‘#lyricsView .lyricsCurrent {-webkit-animation-duration: ‘+flickerDuration+’s; color: ‘ + textColourHighlight + ‘; -webkit-text-stroke: ‘ + strokeWidth + “px ” + glowColorHighlight + ‘; } ‘;

styling += ‘@-webkit-keyframes flicker { ‘ ;
for (var i =0, oddEven=0; i <= 100; i+=parseInt(100 / flickerCount), oddEven++ ) {
if (oddEven % 2) {
styling += i + ‘% {color:’+flickerColor+’;} ‘;
} else {
styling += i + ‘% {color:’ + textColourHighlight + ‘;} ‘;
}

}
styling += ‘}’;

lyricStyle.insertCSSNode(styling);

}

};

//End of style definitions

var scenes = lyricsJSON.styles[0].scenes;
var textStyles = lyricsJSON.styles[0].texts.text;

for (scene in scenes.scene) {
if( styleProcessing[scene]) {
//console.log(‘found: ‘, scene);
styleProcessingscene;
} else {
//console.log(‘not found: ‘, scene);
}
}

for (style in textStyles) {
if (override && override[style]) {
overridestyle;
} else {
if( styleProcessing[style] ) {
//console.log(‘found: ‘+style);
styleProcessingstyle;
} else {
//console.log(‘not found: ‘+style);
}
}
}

lyricStyle.loadCSS(config.style);

},

/*
* Visualisation: hitchcock
*
*/
hitchcock : {
config : {
type : “carousel”,
lineWidth : 380,
wordsPerLine : 4,
resizeFonts : true,
enableCopy : true, // enable duplicate elements for shadow
style : “hitchcock”
},
init : function(lyricsJSON, offset, skew, view, container) {
lyricPlay.processLyricStyles(lyricsJSON, offset, skew, view, this.config);
return this.config;
}
},

/*
* Visualisation: stack
*
/
stack : {
config : {
type : “list”,
lineWidth : 360,
wordsPerLine : 5,
resizeFonts : true,
linePosition: 910,
style : “stack”
},
init : function(lyricsJSON, offset, skew, view, container) {
lyricPlay.processLyricStyles(lyricsJSON, offset, skew, view, this.config);
return this.config;
}
},
/

* Visualisation: perspective
*
*/
perspective : {
config : {
type : “list”,
lineWidth : 340,
wordsPerLine : 3,
resizeFonts : true,
linePosition: 1333,
style : “perspective”,
reverseDirection : true
},
init : function(lyricsJSON, offset, skew, view, container) {

var override = {
textColor: function() {
view.style.color = lyricStyle.rgbaHexToCssDecimal(lyricsJSON.styles[0].texts.text.textColorTop);
}
}

lyricPlay.processLyricStyles(lyricsJSON, offset, skew, view, this.config, override);
return this.config;
}
},

/*
* Visualisation: illuminate
*
*/
illuminate : {
config : {
type : “paged”,
lineWidth : 420,
wordsPerLine : 4,
resizeFonts : true,
style : “illuminate”
},
init : function(lyricsJSON, offset, skew, view, container) {

/* 3D Box Effect */
var cube = byId(‘lyricsContainer’);
var cubeRotateY = -0;
var frontFace = byId(‘page1’);
var frontFaceRotateY = 0;
var rightFace = byId(‘page2’);
var rightFaceRotateY = 90;
var _i = 0;

cube.style.webkitTransitionDuration = “2s”;

document.addEventListener(‘pageTurn1’, rotateEvent);
document.addEventListener(‘pageTurn2’, rotateEvent);

function rotateEvent() {
cubeRotateY -= 90;
_i++;

if(_i % 2) {
lyricPlayer.fitVertically(frontFace,320);
lyricPlayer.fitVertically(rightFace,320);
frontFaceRotateY -= 180;
frontFace.style.webkitTransform = ‘rotateY(‘+frontFaceRotateY+’deg) translateZ(240px)’;
} else {
lyricPlayer.fitVertically(frontFace,320);
lyricPlayer.fitVertically(rightFace,320);
rightFaceRotateY -= 180;
rightFace.style.webkitTransform = ‘rotateY(‘+rightFaceRotateY+’deg) translateZ(240px)’;
}
cube.style.webkitTransform = ‘rotateX(0deg) translateZ(-260px) rotateY(‘+ cubeRotateY +’deg)’;
}

lyricPlay.processLyricStyles(lyricsJSON, offset, skew, view, this.config);
return this.config;
}
},

showInfo : function(offset, skew, lyricConfig) {
var infoElement = document.createElement(‘div’);
infoElement.setAttribute(‘id’,”info”);
//document.body.appendChild(resizerElement);
byId(“lyricsView”).appendChild(infoElement);
infoElement.setAttribute(‘style’, ‘font-size:12px; text-align:left; font-family:arial; position:absolute; opacity: 0.7; color: black; top:0px; width:200px; z-index:1000; border:1px solid black; background-color:white;’);
infoElement.innerHTML = “Info:“;
infoElement.innerHTML += ”
Offset: ” + offset;
infoElement.innerHTML += ”
Skew: ” + skew;
infoElement.innerHTML += ”
Font: ” + lyricConfig.fontName;
infoElement.innerHTML += ”
RSkew”;

},

play : function (lyricsJSON, offset, skew, debug) {
var view = byId(“lyricsView”);
var container = byId(“lyricsContainer”);
skew = parseFloat(skew);
console.log(“lyrics style found: ” + lyricsJSON.styles[0].texts.effect);
var lyricConfig = this[lyricsJSON.styles[0].texts.effect].init(lyricsJSON, offset, skew, view, container);
if (debug == true) this.showInfo(offset, skew, lyricConfig);
setTimeout(function() {
lyricPlayer.show(lyricsJSON, offset + 1, skew, lyricConfig);
}, 1000);
}
}