var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4031510&docid=70494710&x=2011',
		'title': '',
		'imageId': '70494710',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4031510&docid=70494712&x=2011',
		'title': '',
		'imageId': '70494712',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4031510&docid=70494711&x=2011',
		'title': '',
		'imageId': '70494711',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4031510&docid=70494716&x=2011',
		'title': '',
		'imageId': '70494716',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4031510&docid=70494713&x=2011',
		'title': '',
		'imageId': '70494713',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4031510&docid=70494715&x=2011',
		'title': '',
		'imageId': '70494715',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4031510&docid=70494714&x=2011',
		'title': '',
		'imageId': '70494714',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4031510';

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