var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3956826&docid=68746740&x=2810',
		'title': '',
		'imageId': '68746740',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956826&docid=68746742&x=2810',
		'title': '',
		'imageId': '68746742',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956826&docid=68746739&x=2810',
		'title': '',
		'imageId': '68746739',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956826&docid=68746738&x=2810',
		'title': '',
		'imageId': '68746738',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956826&docid=68746736&x=2810',
		'title': '',
		'imageId': '68746736',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956826&docid=68746737&x=2810',
		'title': '',
		'imageId': '68746737',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956826&docid=68746741&x=2810',
		'title': '',
		'imageId': '68746741',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956826&docid=68746745&x=2810',
		'title': '',
		'imageId': '68746745',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956826&docid=68746743&x=2810',
		'title': '',
		'imageId': '68746743',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956826&docid=68746744&x=2810',
		'title': '',
		'imageId': '68746744',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3956826';

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