var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3944897&docid=68459841&x=519',
		'title': '',
		'imageId': '68459841',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944897&docid=68459838&x=519',
		'title': '',
		'imageId': '68459838',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944897&docid=68459839&x=519',
		'title': '',
		'imageId': '68459839',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944897&docid=68459840&x=519',
		'title': '',
		'imageId': '68459840',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944897&docid=68459837&x=519',
		'title': '',
		'imageId': '68459837',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944897&docid=68459847&x=519',
		'title': '',
		'imageId': '68459847',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944897&docid=68459849&x=519',
		'title': '',
		'imageId': '68459849',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944897&docid=68459843&x=519',
		'title': '',
		'imageId': '68459843',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944897&docid=68459844&x=519',
		'title': '',
		'imageId': '68459844',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944897&docid=68459846&x=519',
		'title': '',
		'imageId': '68459846',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944897&docid=68459845&x=519',
		'title': '',
		'imageId': '68459845',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944897&docid=68459853&x=519',
		'title': '',
		'imageId': '68459853',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944897&docid=68459842&x=519',
		'title': '',
		'imageId': '68459842',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944897&docid=68459852&x=519',
		'title': '',
		'imageId': '68459852',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944897&docid=68459850&x=519',
		'title': '',
		'imageId': '68459850',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944897&docid=68459848&x=519',
		'title': '',
		'imageId': '68459848',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944897&docid=68459854&x=519',
		'title': '',
		'imageId': '68459854',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944897&docid=68459851&x=519',
		'title': '',
		'imageId': '68459851',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944897&docid=68459856&x=519',
		'title': '',
		'imageId': '68459856',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944897&docid=68459855&x=519',
		'title': '',
		'imageId': '68459855',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944897&docid=68459858&x=519',
		'title': '',
		'imageId': '68459858',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944897&docid=68459859&x=519',
		'title': '',
		'imageId': '68459859',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944897&docid=68459857&x=519',
		'title': '',
		'imageId': '68459857',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3944897';

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