var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4013298&docid=70035203&x=3016',
		'title': '',
		'imageId': '70035203',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013298&docid=70035204&x=3016',
		'title': '',
		'imageId': '70035204',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013298&docid=70035207&x=3016',
		'title': '',
		'imageId': '70035207',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013298&docid=70035219&x=3016',
		'title': '',
		'imageId': '70035219',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013298&docid=70035208&x=3016',
		'title': '',
		'imageId': '70035208',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013298&docid=70035209&x=3016',
		'title': '',
		'imageId': '70035209',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013298&docid=70035210&x=3016',
		'title': '',
		'imageId': '70035210',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013298&docid=70035211&x=3016',
		'title': '',
		'imageId': '70035211',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013298&docid=70035212&x=3016',
		'title': '',
		'imageId': '70035212',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013298&docid=70035213&x=3016',
		'title': '',
		'imageId': '70035213',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013298&docid=70035214&x=3016',
		'title': '',
		'imageId': '70035214',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013298&docid=70035215&x=3016',
		'title': '',
		'imageId': '70035215',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013298&docid=70035216&x=3016',
		'title': '',
		'imageId': '70035216',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013298&docid=70035217&x=3016',
		'title': '',
		'imageId': '70035217',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013298&docid=70035218&x=3016',
		'title': '',
		'imageId': '70035218',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013298&docid=70035205&x=3016',
		'title': '',
		'imageId': '70035205',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013298&docid=70035206&x=3016',
		'title': '',
		'imageId': '70035206',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013298&docid=70035220&x=3016',
		'title': '',
		'imageId': '70035220',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013298&docid=70035221&x=3016',
		'title': '',
		'imageId': '70035221',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4013298';

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