var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3955343&docid=68706802&x=148',
		'title': '',
		'imageId': '68706802',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955343&docid=68706803&x=148',
		'title': '',
		'imageId': '68706803',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955343&docid=68706804&x=148',
		'title': '',
		'imageId': '68706804',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955343&docid=68706805&x=148',
		'title': '',
		'imageId': '68706805',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955343&docid=68706811&x=148',
		'title': '',
		'imageId': '68706811',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955343&docid=68706808&x=148',
		'title': '',
		'imageId': '68706808',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955343&docid=68706818&x=148',
		'title': '',
		'imageId': '68706818',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955343&docid=68706819&x=148',
		'title': '',
		'imageId': '68706819',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955343&docid=68706801&x=148',
		'title': '',
		'imageId': '68706801',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955343&docid=68706800&x=148',
		'title': '',
		'imageId': '68706800',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3955343';

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