var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3950814&docid=68605538&x=2612',
		'title': '',
		'imageId': '68605538',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950814&docid=68605547&x=2612',
		'title': '',
		'imageId': '68605547',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950814&docid=68605539&x=2612',
		'title': '',
		'imageId': '68605539',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950814&docid=68605545&x=2612',
		'title': '',
		'imageId': '68605545',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950814&docid=68605541&x=2612',
		'title': '',
		'imageId': '68605541',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950814&docid=68605548&x=2612',
		'title': '',
		'imageId': '68605548',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950814&docid=68605544&x=2612',
		'title': '',
		'imageId': '68605544',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950814&docid=68605540&x=2612',
		'title': '',
		'imageId': '68605540',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950814&docid=68605542&x=2612',
		'title': '',
		'imageId': '68605542',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950814&docid=68605543&x=2612',
		'title': '',
		'imageId': '68605543',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950814&docid=68605546&x=2612',
		'title': '',
		'imageId': '68605546',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3950814';

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