var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3962233&docid=68859372&x=5526',
		'title': '',
		'imageId': '68859372',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962233&docid=68859293&x=5526',
		'title': '',
		'imageId': '68859293',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962233&docid=68859294&x=5526',
		'title': '',
		'imageId': '68859294',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962233&docid=68859297&x=5526',
		'title': '',
		'imageId': '68859297',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962233&docid=68859296&x=5526',
		'title': '',
		'imageId': '68859296',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962233&docid=68859295&x=5526',
		'title': '',
		'imageId': '68859295',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962233&docid=68859298&x=5526',
		'title': '',
		'imageId': '68859298',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962233&docid=68859299&x=5526',
		'title': '',
		'imageId': '68859299',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962233&docid=68859302&x=5526',
		'title': '',
		'imageId': '68859302',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962233&docid=68859300&x=5526',
		'title': '',
		'imageId': '68859300',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962233&docid=68859301&x=5526',
		'title': '',
		'imageId': '68859301',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962233&docid=68859328&x=5526',
		'title': '',
		'imageId': '68859328',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962233&docid=68859335&x=5526',
		'title': '',
		'imageId': '68859335',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962233&docid=68859337&x=5526',
		'title': '',
		'imageId': '68859337',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962233&docid=68859324&x=5526',
		'title': '',
		'imageId': '68859324',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962233&docid=68859338&x=5526',
		'title': '',
		'imageId': '68859338',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962233&docid=68859336&x=5526',
		'title': '',
		'imageId': '68859336',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962233&docid=68859334&x=5526',
		'title': '',
		'imageId': '68859334',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962233&docid=68859333&x=5526',
		'title': '',
		'imageId': '68859333',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962233&docid=68859331&x=5526',
		'title': '',
		'imageId': '68859331',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962233&docid=68859332&x=5526',
		'title': '',
		'imageId': '68859332',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962233&docid=68859329&x=5526',
		'title': '',
		'imageId': '68859329',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962233&docid=68859325&x=5526',
		'title': '',
		'imageId': '68859325',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962233&docid=68859330&x=5526',
		'title': '',
		'imageId': '68859330',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962233&docid=68859326&x=5526',
		'title': '',
		'imageId': '68859326',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962233&docid=68859327&x=5526',
		'title': '',
		'imageId': '68859327',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962233&docid=68859323&x=5526',
		'title': '',
		'imageId': '68859323',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962233&docid=68859373&x=5526',
		'title': '',
		'imageId': '68859373',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962233&docid=68859376&x=5526',
		'title': '',
		'imageId': '68859376',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962233&docid=68859375&x=5526',
		'title': '',
		'imageId': '68859375',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962233&docid=68859374&x=5526',
		'title': '',
		'imageId': '68859374',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962233&docid=68859378&x=5526',
		'title': '',
		'imageId': '68859378',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962233&docid=68859379&x=5526',
		'title': '',
		'imageId': '68859379',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962233&docid=68859377&x=5526',
		'title': '',
		'imageId': '68859377',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962233&docid=68859371&x=5526',
		'title': '',
		'imageId': '68859371',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3962233';

document.body.style.overflow = "hidden";
var closeElement = document.querySelector("#lightbox #close");
var closeLoadingElement = document.querySelector("#lightbox #closeLoading");

if (closeElement) {
	closeElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}

if (closeLoadingElement) {
	closeLoadingElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}
