var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3955275&docid=68704720&x=25',
		'title': '',
		'imageId': '68704720',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955275&docid=68704721&x=25',
		'title': '',
		'imageId': '68704721',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955275&docid=68704723&x=25',
		'title': '',
		'imageId': '68704723',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955275&docid=68704722&x=25',
		'title': '',
		'imageId': '68704722',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955275&docid=68704724&x=25',
		'title': '',
		'imageId': '68704724',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955275&docid=68704730&x=25',
		'title': '',
		'imageId': '68704730',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955275&docid=68704727&x=25',
		'title': '',
		'imageId': '68704727',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955275&docid=68704738&x=25',
		'title': '',
		'imageId': '68704738',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955275&docid=68704737&x=25',
		'title': '',
		'imageId': '68704737',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955275&docid=68704719&x=25',
		'title': '',
		'imageId': '68704719',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3955275';

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