var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3944301&docid=68446650&x=3255',
		'title': '',
		'imageId': '68446650',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944301&docid=68446651&x=3255',
		'title': '',
		'imageId': '68446651',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944301&docid=68446654&x=3255',
		'title': '',
		'imageId': '68446654',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944301&docid=68446653&x=3255',
		'title': '',
		'imageId': '68446653',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944301&docid=68446655&x=3255',
		'title': '',
		'imageId': '68446655',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944301&docid=68446652&x=3255',
		'title': '',
		'imageId': '68446652',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944301&docid=68446661&x=3255',
		'title': '',
		'imageId': '68446661',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944301&docid=68446662&x=3255',
		'title': '',
		'imageId': '68446662',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944301&docid=68446671&x=3255',
		'title': '',
		'imageId': '68446671',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944301&docid=68446672&x=3255',
		'title': '',
		'imageId': '68446672',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944301&docid=68446677&x=3255',
		'title': '',
		'imageId': '68446677',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944301&docid=68446678&x=3255',
		'title': '',
		'imageId': '68446678',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944301&docid=68446681&x=3255',
		'title': '',
		'imageId': '68446681',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944301&docid=68446682&x=3255',
		'title': '',
		'imageId': '68446682',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944301&docid=68446691&x=3255',
		'title': '',
		'imageId': '68446691',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944301&docid=68446696&x=3255',
		'title': '',
		'imageId': '68446696',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944301&docid=68446700&x=3255',
		'title': '',
		'imageId': '68446700',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944301&docid=68446698&x=3255',
		'title': '',
		'imageId': '68446698',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944301&docid=68446702&x=3255',
		'title': '',
		'imageId': '68446702',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944301&docid=68446701&x=3255',
		'title': '',
		'imageId': '68446701',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944301&docid=68446703&x=3255',
		'title': '',
		'imageId': '68446703',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944301&docid=68446706&x=3255',
		'title': '',
		'imageId': '68446706',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944301&docid=68446717&x=3255',
		'title': '',
		'imageId': '68446717',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944301&docid=68446718&x=3255',
		'title': '',
		'imageId': '68446718',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3944301';

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