var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3947964&docid=68536890&x=131',
		'title': '',
		'imageId': '68536890',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947964&docid=68536892&x=131',
		'title': '',
		'imageId': '68536892',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947964&docid=68536893&x=131',
		'title': '',
		'imageId': '68536893',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947964&docid=68536894&x=131',
		'title': '',
		'imageId': '68536894',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947964&docid=68536898&x=131',
		'title': '',
		'imageId': '68536898',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947964&docid=68536895&x=131',
		'title': '',
		'imageId': '68536895',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947964&docid=68536901&x=131',
		'title': '',
		'imageId': '68536901',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947964&docid=68536906&x=131',
		'title': '',
		'imageId': '68536906',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947964&docid=68536907&x=131',
		'title': '',
		'imageId': '68536907',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947964&docid=68536913&x=131',
		'title': '',
		'imageId': '68536913',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947964&docid=68536912&x=131',
		'title': '',
		'imageId': '68536912',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947964&docid=68536916&x=131',
		'title': '',
		'imageId': '68536916',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947964&docid=68536919&x=131',
		'title': '',
		'imageId': '68536919',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947964&docid=68536922&x=131',
		'title': '',
		'imageId': '68536922',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947964&docid=68536925&x=131',
		'title': '',
		'imageId': '68536925',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947964&docid=68536932&x=131',
		'title': '',
		'imageId': '68536932',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947964&docid=68537108&x=131',
		'title': '',
		'imageId': '68537108',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947964&docid=68537107&x=131',
		'title': '',
		'imageId': '68537107',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947964&docid=68536933&x=131',
		'title': '',
		'imageId': '68536933',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947964&docid=68536934&x=131',
		'title': '',
		'imageId': '68536934',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947964&docid=68536939&x=131',
		'title': '',
		'imageId': '68536939',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947964&docid=68536940&x=131',
		'title': '',
		'imageId': '68536940',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947964&docid=68536943&x=131',
		'title': '',
		'imageId': '68536943',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947964&docid=68536891&x=131',
		'title': '',
		'imageId': '68536891',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3947964';

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";
	})
}
